Class DataTreeConfiguration

java.lang.Object
org.opendaylight.yangtools.yang.data.tree.api.DataTreeConfiguration
All Implemented Interfaces:
Immutable

@Beta public class DataTreeConfiguration extends Object implements 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.