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
Modifier and TypeMethodDescription@NonNull org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.Absolute
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 Details
-
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
-