public static enum TreeNodeModification.ModificationType extends Enum<TreeNodeModification.ModificationType>
Enum Constant and Description |
---|
APPEARED
This node has appeared because it is implied by one of its children.
|
DELETE
Node was deleted.
|
DISAPPEARED
This node has disappeared because it is no longer implied by any children.
|
SUBTREE_MODIFIED
Child node (direct or indirect) was modified.
|
WRITE
Node was explicitly created / overwritten.
|
Modifier and Type | Method and Description |
---|---|
static TreeNodeModification.ModificationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TreeNodeModification.ModificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TreeNodeModification.ModificationType SUBTREE_MODIFIED
public static final TreeNodeModification.ModificationType WRITE
public static final TreeNodeModification.ModificationType DELETE
public static final TreeNodeModification.ModificationType APPEARED
DataTreeCandidate
to operations on a DataTreeModification
should interpret it as a SUBTREE_MODIFIED and examine its children.
This is needed to correctly deal with concurrent operations on the nodes children, as issuing a write on the
DataTreeModification could end up removing any leaves which have not been present at the DataTree which
emitted this event.public static final TreeNodeModification.ModificationType DISAPPEARED
DataTreeCandidate
to operations on a
DataTreeModification
should interpret
it as a SUBTREE_MODIFIED and examine its children.
This is needed to correctly deal with concurrent operations on the nodes children, as issuing a delete on the
DataTreeModification would end up removing any leaves which have not been present at the DataTree which
emitted this event.public static TreeNodeModification.ModificationType[] values()
for (TreeNodeModification.ModificationType c : TreeNodeModification.ModificationType.values()) System.out.println(c);
public static TreeNodeModification.ModificationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 OpenDaylight. All rights reserved.