Interface ConfigFileProcessor
-
- All Known Implementing Classes:
AbstractConfigFileProcessor
,AbstractOSGiConfigFileProcessor
,BmpMonitorConfigFileProcessor
,ForwardingConfigFileProcessor
,NetworkTopologyConfigFileProcessor
,OpenconfigRoutingConfigFileProcessor
,OSGiBmpMonitorConfigFileProcessor
,OSGiOpenconfigConfigFileProcessor
,OSGiOpenconfigConfigFileProcessor
,OSGiProtocolsConfigFileProcessor
,ProtocolsConfigFileProcessor
public interface ConfigFileProcessor
Takes 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.Absolute
fileRootSchema()
Return theSchemaNodeIdentifier.Absolute
path to the expected root node of the document contained in the file.void
loadConfiguration(@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.Absolute
path 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
-
-