public interface DataTreeModification extends DataTreeSnapshot
| Modifier and Type | Method and Description |
|---|---|
void |
applyToCursor(DataTreeModificationCursor cursor)
Apply the contents of this modification to a cursor.
|
void |
delete(YangInstanceIdentifier path)
Delete the node at specified path.
|
void |
merge(YangInstanceIdentifier path,
NormalizedNode<?,?> data)
Merge the specified data with the currently-present data
at specified path.
|
void |
ready()
Finish creation of a modification, making it ready for application
to the data tree.
|
void |
write(YangInstanceIdentifier path,
NormalizedNode<?,?> data)
Replace the data at specified path with supplied data.
|
getSchemaContext, newModification, readNodevoid delete(YangInstanceIdentifier path)
path - Node pathvoid merge(YangInstanceIdentifier path, NormalizedNode<?,?> data)
path - Node pathdata - Data to be mergedvoid write(YangInstanceIdentifier path, NormalizedNode<?,?> data)
path - Node pathdata - New node datavoid ready()
applyToCursor(DataTreeModificationCursor) will result
in undefined behavior, possibly with an
IllegalStateException being thrown.void applyToCursor(@Nonnull DataTreeModificationCursor cursor)
cursor - cursor to which this modificationCopyright © 2019 OpenDaylight. All rights reserved.