Class MergingNodeStateDiff
- java.lang.Object
 - 
- org.apache.jackrabbit.oak.spi.state.DefaultNodeStateDiff
 - 
- org.apache.jackrabbit.oak.plugins.commit.MergingNodeStateDiff
 
 
 
- 
- All Implemented Interfaces:
 NodeStateDiff
public final class MergingNodeStateDiff extends DefaultNodeStateDiff
MergingNodeStateDiff... TODO 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanchildNodeAdded(java.lang.String name, NodeState after)Called for all added child nodes.booleanchildNodeChanged(java.lang.String name, NodeState before, NodeState after)Called for all child nodes that may contain changes between the before and after states.- 
Methods inherited from class org.apache.jackrabbit.oak.spi.state.DefaultNodeStateDiff
childNodeDeleted, propertyAdded, propertyChanged, propertyDeleted 
 - 
 
 - 
 
- 
- 
Method Detail
- 
childNodeAdded
public boolean childNodeAdded(java.lang.String name, NodeState after)Description copied from interface:NodeStateDiffCalled for all added child nodes.- Specified by:
 childNodeAddedin interfaceNodeStateDiff- Overrides:
 childNodeAddedin classDefaultNodeStateDiff- Parameters:
 name- name of the added child nodeafter- child node state after the change- Returns:
 trueto continue the comparison,falseto abort. Abort will stop comparing completely, that means sibling nodes and sibling nodes of all parents are not further compared.
 
- 
childNodeChanged
public boolean childNodeChanged(java.lang.String name, NodeState before, NodeState after)Description copied from interface:NodeStateDiffCalled for all child nodes that may contain changes between the before and after states. The comparison implementation is expected to make an effort to avoid calling this method on child nodes under which nothing has changed.- Specified by:
 childNodeChangedin interfaceNodeStateDiff- Overrides:
 childNodeChangedin classDefaultNodeStateDiff- Parameters:
 name- name of the changed child nodebefore- child node state before the changeafter- child node state after the change- Returns:
 trueto continue the comparison,falseto abort. Abort will stop comparing completely, that means sibling nodes and sibling nodes of all parents are not further compared.
 
 - 
 
 -