X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-dom-broker%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fdom%2Fstore%2Fimpl%2Ftree%2FDataTree.java;h=4807e15653d017fa9f341f8a6afc4cf6a9191c61;hb=309fb98d0bcaa1ea1333d5ec67c6c967836aefcc;hp=01e2a29e4e9ee78ac13fc2eb16227b315bda999b;hpb=8d160966fa8752235d01bb8dc57c11391b86f187;p=controller.git diff --git a/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/md/sal/dom/store/impl/tree/DataTree.java b/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/md/sal/dom/store/impl/tree/DataTree.java index 01e2a29e4e..4807e15653 100644 --- a/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/md/sal/dom/store/impl/tree/DataTree.java +++ b/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/md/sal/dom/store/impl/tree/DataTree.java @@ -13,26 +13,26 @@ import org.opendaylight.yangtools.yang.model.api.SchemaContext; * Interface representing a data tree which can be modified in an MVCC fashion. */ public interface DataTree { - /** - * Take a read-only point-in-time snapshot of the tree. - * - * @return Data tree snapshot. - */ - DataTreeSnapshot takeSnapshot(); + /** + * Take a read-only point-in-time snapshot of the tree. + * + * @return Data tree snapshot. + */ + DataTreeSnapshot takeSnapshot(); - /** - * Make the data tree use a new schema context. The context will be used - * only by subsequent operations. - * - * @param newSchemaContext new SchemaContext - * @throws IllegalArgumentException if the new context is incompatible - */ + /** + * Make the data tree use a new schema context. The context will be used + * only by subsequent operations. + * + * @param newSchemaContext new SchemaContext + * @throws IllegalArgumentException if the new context is incompatible + */ void setSchemaContext(SchemaContext newSchemaContext); /** * Validate whether a particular modification can be applied to the data tree. */ - void validate(DataTreeModification modification) throws DataPreconditionFailedException; + void validate(DataTreeModification modification) throws DataValidationFailedException; /** * Prepare a modification for commit.