Class DataTreeConfiguration
java.lang.Object
org.opendaylight.yangtools.yang.data.tree.api.DataTreeConfiguration
- All Implemented Interfaces:
Immutable
DataTree configuration class.
TreeConfig supports currently the following options:
- treeType
- enable/disable unique indexes and unique constraint validation
- enable/disable mandatory nodes validation
TreeConfig can be easily extended in order to support further data tree configuration options, like following:
- enable/disable case exclusion validation
- enable/disable other indexes
- other schema aware validation options
This can be useful when strict validation is not required or useful for some reasons.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DataTreeConfigurationstatic final DataTreeConfiguration -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull DataTreeConfiguration.Builder@NonNull DataTreeConfiguration.Builderstatic DataTreeConfigurationgetDefault(TreeType treeType) @NonNull YangInstanceIdentifier@NonNull TreeTypebooleanbooleantoString()
-
Field Details
-
DEFAULT_CONFIGURATION
-
DEFAULT_OPERATIONAL
-
-
Method Details