Interface ConsolidatingChangeLog.CancelableOperation
-
- All Superinterfaces:
Operation
- All Known Implementing Classes:
ConsolidatingChangeLog.CancelableOperations.AddNode
,ConsolidatingChangeLog.CancelableOperations.AddProperty
,ConsolidatingChangeLog.CancelableOperations.Empty
,ConsolidatingChangeLog.CancelableOperations.Move
,ConsolidatingChangeLog.CancelableOperations.Remove
,ConsolidatingChangeLog.CancelableOperations.ReorderNodes
,ConsolidatingChangeLog.CancelableOperations.SetMixins
,ConsolidatingChangeLog.CancelableOperations.SetPrimaryType
,ConsolidatingChangeLog.CancelableOperations.SetTree
,ConsolidatingChangeLog.CancelableOperations.SetValue
- Enclosing class:
- ConsolidatingChangeLog
protected static interface ConsolidatingChangeLog.CancelableOperation extends Operation
This class represent anOperation
which can be cancelled by another operation or which cancels another operation.
-
-
Field Summary
Fields Modifier and Type Field Description static int
CANCEL_BOTH
This operation and the other operation cancel each other mutuallystatic int
CANCEL_NONE
No cancellationstatic int
CANCEL_OTHER
This operation cancels the other operationstatic int
CANCEL_THIS
The other operation cancels this operations
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
cancel(ConsolidatingChangeLog.CancelableOperation other)
Determines the cancellation behavior of theother
operation on this operation.
-
-
-
Field Detail
-
CANCEL_THIS
static final int CANCEL_THIS
The other operation cancels this operations- See Also:
- Constant Field Values
-
CANCEL_OTHER
static final int CANCEL_OTHER
This operation cancels the other operation- See Also:
- Constant Field Values
-
CANCEL_BOTH
static final int CANCEL_BOTH
This operation and the other operation cancel each other mutually- See Also:
- Constant Field Values
-
CANCEL_NONE
static final int CANCEL_NONE
No cancellation- See Also:
- Constant Field Values
-
-
Method Detail
-
cancel
int cancel(ConsolidatingChangeLog.CancelableOperation other) throws RepositoryException
Determines the cancellation behavior of theother
operation on this operation.- Parameters:
other
-- Returns:
- Either
CANCEL_THIS
,CANCEL_OTHER
,CANCEL_OTHER
orCANCEL_NONE
- Throws:
RepositoryException
-
-