Interface NodeStateDiffer
-
- All Known Implementing Classes:
DocumentNodeStore
public interface NodeStateDiffer
-
-
Field Summary
Fields Modifier and Type Field Description static NodeStateDifferDEFAULT_DIFFER
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancompare(@NotNull AbstractDocumentNodeState node, @NotNull AbstractDocumentNodeState base, @NotNull org.apache.jackrabbit.oak.spi.state.NodeStateDiff diff)Compares the givennodeagainst thebasestate and reports the differences to theNodeStateDiff.
-
-
-
Field Detail
-
DEFAULT_DIFFER
static final NodeStateDiffer DEFAULT_DIFFER
-
-
Method Detail
-
compare
boolean compare(@NotNull @NotNull AbstractDocumentNodeState node, @NotNull @NotNull AbstractDocumentNodeState base, @NotNull @NotNull org.apache.jackrabbit.oak.spi.state.NodeStateDiff diff)Compares the givennodeagainst thebasestate and reports the differences to theNodeStateDiff.- Parameters:
node- the node to compare.base- the base node to compare against.diff- handler of node state differences- Returns:
trueif the full diff was performed, orfalseif it was aborted as requested by the handler (see theNodeStateDiffcontract for more details)
-
-