@Beta public interface DataTreeModificationCursor extends DataTreeSnapshotCursor
DataTreeSnapshotCursor
which allows modifying the data tree.
An instance of this interface can be obtained from CursorAwareDataTreeModification
and modifications made through this interface are staged in the parent modification.Modifier and Type | Method and Description |
---|---|
void |
delete(YangInstanceIdentifier.PathArgument child)
Delete the specified child.
|
void |
merge(YangInstanceIdentifier.PathArgument child,
NormalizedNode<?,?> data)
Merge the specified data with the currently-present data
at specified path.
|
void |
write(YangInstanceIdentifier.PathArgument child,
NormalizedNode<?,?> data)
Replace the data at specified path with supplied data.
|
void delete(YangInstanceIdentifier.PathArgument child)
child
- Child identifierBackendFailedException
- when implementation-specific errors occurs
while servicing the request.void merge(YangInstanceIdentifier.PathArgument child, NormalizedNode<?,?> data)
child
- Child identifierdata
- Data to be mergedBackendFailedException
- when implementation-specific errors occurs
while servicing the request.void write(YangInstanceIdentifier.PathArgument child, NormalizedNode<?,?> data)
child
- Child identifierdata
- New node dataBackendFailedException
- when implementation-specific errors occurs
while servicing the request.Copyright © 2019 OpenDaylight. All rights reserved.