Class ItemState.SimpleMergeResult
- java.lang.Object
-
- org.apache.jackrabbit.jcr2spi.state.ItemState.SimpleMergeResult
-
- All Implemented Interfaces:
ItemState.MergeResult
- Enclosing class:
- ItemState
protected class ItemState.SimpleMergeResult extends Object implements ItemState.MergeResult
A SimpleMergeResult is just a holder for a modification status. Themodified()
method just returns the modification status passed to the constructor.
-
-
Constructor Summary
Constructors Constructor Description SimpleMergeResult(boolean modified)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Dispose this MergeResult and release all internal resources that are not needed any more.boolean
modified()
-
-
-
Method Detail
-
modified
public boolean modified()
- Specified by:
modified
in interfaceItemState.MergeResult
- Returns:
- true iff the target state of
ItemState.merge(ItemState, boolean)
was modified.
-
dispose
public void dispose()
Description copied from interface:ItemState.MergeResult
Dispose this MergeResult and release all internal resources that are not needed any more.- Specified by:
dispose
in interfaceItemState.MergeResult
-
-