Class ConsolidatingChangeLog.CancelableOperations.SetTree
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.batch.Operations.SetTree
-
- org.apache.jackrabbit.spi.commons.batch.ConsolidatingChangeLog.CancelableOperations.SetTree
-
- All Implemented Interfaces:
ConsolidatingChangeLog.CancelableOperation,Operation
- Enclosing class:
- ConsolidatingChangeLog.CancelableOperations
public static class ConsolidatingChangeLog.CancelableOperations.SetTree extends Operations.SetTree implements ConsolidatingChangeLog.CancelableOperation
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.spi.commons.batch.Operations.SetTree
parentId, tree
-
Fields inherited from interface org.apache.jackrabbit.spi.commons.batch.ConsolidatingChangeLog.CancelableOperation
CANCEL_BOTH, CANCEL_NONE, CANCEL_OTHER, CANCEL_THIS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcancel(ConsolidatingChangeLog.CancelableOperation other)The cancellation only considers canceling the parent node, which corresponds to the policy node.-
Methods inherited from class org.apache.jackrabbit.spi.commons.batch.Operations.SetTree
apply, equals, equals, hashCode, toString
-
-
-
-
Method Detail
-
cancel
public int cancel(ConsolidatingChangeLog.CancelableOperation other) throws RepositoryException
The cancellation only considers canceling the parent node, which corresponds to the policy node.- Specified by:
cancelin interfaceConsolidatingChangeLog.CancelableOperation- Returns:
- Either
ConsolidatingChangeLog.CancelableOperation.CANCEL_THIS,ConsolidatingChangeLog.CancelableOperation.CANCEL_OTHER,ConsolidatingChangeLog.CancelableOperation.CANCEL_OTHERorConsolidatingChangeLog.CancelableOperation.CANCEL_NONE - Throws:
RepositoryException
-
-