public static class ConsolidatingChangeLog.CancelableOperations.AddNode extends Operations.AddNode implements ConsolidatingChangeLog.CancelableOperation
AddNode operation is is cancelled by a
Remove operation higher up the tree.
The remove operation is also cancelled if it is targeted at the same node than this add
operation.nodeName, nodetypeName, parentId, uuidCANCEL_BOTH, CANCEL_NONE, CANCEL_OTHER, CANCEL_THIS| Constructor and Description |
|---|
AddNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
String uuid) |
| Modifier and Type | Method and Description |
|---|---|
int |
cancel(ConsolidatingChangeLog.CancelableOperation other)
Determines the cancellation behavior of the
other operation
on this operation. |
apply, equals, equals, hashCode, toStringpublic int cancel(ConsolidatingChangeLog.CancelableOperation other) throws RepositoryException
ConsolidatingChangeLog.CancelableOperationother operation
on this operation.cancel in interface ConsolidatingChangeLog.CancelableOperationCANCEL_BOTH if
other is an instance of
Remove and has this node
as target.CANCEL_THIS if
other is an instance of
Remove and has an node higher up
the hierarchy as target.CANCEL_NONE otherwise.RepositoryExceptionCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.