Interface ConfigFileProcessor
-
- All Known Implementing Classes:
AbstractConfigFileProcessor,AbstractOSGiConfigFileProcessor,BmpMonitorConfigFileProcessor,ForwardingConfigFileProcessor,NetworkTopologyConfigFileProcessor,OpenconfigRoutingConfigFileProcessor,OSGiBmpMonitorConfigFileProcessor,OSGiOpenconfigConfigFileProcessor,OSGiOpenconfigConfigFileProcessor,OSGiProtocolsConfigFileProcessor,ProtocolsConfigFileProcessor
public interface ConfigFileProcessorTakes care of obtain object schema, schema QName is used as base to create a pattern (QName + "-" + * + ".xml") to recognize which files needs to be processed by each e.g. ProtocolsConfigFileProcessor will process any file containing the naming protocols-*.xml
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull 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(@NonNull org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode dto)Load the information contained on the normalized node.
-
-
-
Method Detail
-
fileRootSchema
@NonNull org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.Absolute fileRootSchema()
Return theSchemaNodeIdentifier.Absolutepath to the expected root node of the document contained in the file.- Returns:
- An absolute schema node identifier.
-
loadConfiguration
void loadConfiguration(@NonNull org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode dto)
Load the information contained on the normalized node.- Parameters:
dto- normalizedNode
-
-