Class ForwardingConfigFileProcessor
- java.lang.Object
-
- com.google.common.collect.ForwardingObject
-
- org.opendaylight.bgpcep.config.loader.spi.ForwardingConfigFileProcessor
-
- All Implemented Interfaces:
ConfigFileProcessor
- Direct Known Subclasses:
AbstractOSGiConfigFileProcessor
public abstract class ForwardingConfigFileProcessor extends com.google.common.collect.ForwardingObject implements ConfigFileProcessor
Implementation ofConfigFileProcessorwhich forwards request to a delegate.
-
-
Constructor Summary
Constructors Constructor Description ForwardingConfigFileProcessor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract @NonNull ConfigFileProcessordelegate()org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.AbsolutefileRootSchema()Return theSchemaNodeIdentifier.Absolutepath to the expected root node of the document contained in the file.voidloadConfiguration(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode dto)Load the information contained on the normalized node.
-
-
-
Method Detail
-
fileRootSchema
public org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.Absolute fileRootSchema()
Description copied from interface:ConfigFileProcessorReturn theSchemaNodeIdentifier.Absolutepath to the expected root node of the document contained in the file.- Specified by:
fileRootSchemain interfaceConfigFileProcessor- Returns:
- An absolute schema node identifier.
-
loadConfiguration
public void loadConfiguration(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode dto)
Description copied from interface:ConfigFileProcessorLoad the information contained on the normalized node.- Specified by:
loadConfigurationin interfaceConfigFileProcessor- Parameters:
dto- normalizedNode
-
delegate
protected abstract @NonNull ConfigFileProcessor delegate()
- Specified by:
delegatein classcom.google.common.collect.ForwardingObject
-
-