public static class ConsolidatingChangeLog.CancelableOperations.SetMixins extends Operations.SetMixins implements ConsolidatingChangeLog.CancelableOperation
mixinNodeTypeNames, nodeId
CANCEL_BOTH, CANCEL_NONE, CANCEL_OTHER, CANCEL_THIS
Constructor and Description |
---|
SetMixins(NodeId nodeId,
Name[] mixinNodeTypeNames) |
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, toString
public int cancel(ConsolidatingChangeLog.CancelableOperation other) throws RepositoryException
ConsolidatingChangeLog.CancelableOperation
other
operation
on this operation.cancel
in interface ConsolidatingChangeLog.CancelableOperation
CANCEL_THIS
if
other
is an instance of
Remove
and has an node higher up
the hierarchy or this node as target. Or if other
is an instance of
SetMixins
which has this node
as target and has the same mixinNodeTypeNames
.CANCEL_NONE
otherwise.RepositoryException
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.