| Package | Description |
|---|---|
| org.apache.jackrabbit.oak.json | |
| org.apache.jackrabbit.oak.plugins.memory | |
| org.apache.jackrabbit.oak.spi.commit | |
| org.apache.jackrabbit.oak.spi.state |
| Modifier and Type | Class and Description |
|---|---|
class |
JsopDiff
TODO document
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ModifiedNodeState.compareAgainstBaseState(NodeState base,
NodeStateDiff diff)
Since we keep track of an explicit base node state for a
ModifiedNodeState instance, we can do this in two steps:
first compare all the modified properties and child nodes to those
of the given base state, and then compare the base states to each
other, ignoring all changed properties and child nodes that were
already covered earlier. |
boolean |
EmptyNodeState.compareAgainstBaseState(NodeState base,
NodeStateDiff diff) |
static boolean |
EmptyNodeState.compareAgainstEmptyState(NodeState state,
NodeStateDiff diff) |
| Modifier and Type | Class and Description |
|---|---|
class |
EditorDiff |
| Modifier and Type | Method and Description |
|---|---|
protected abstract NodeStateDiff |
DiffObserver.getRootDiff(NodeState before,
NodeState after,
CommitInfo info)
Returns the diff handler to be used for the given content change.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRebaseDiff
AbstractRebaseDiff serves as base for rebase implementations. |
class |
ApplyDiff
A node state diff handler that applies all reported changes
as-is to the given node builder.
|
class |
ConflictAnnotatingRebaseDiff
This implementation of
AbstractRebaseDiff implements a NodeStateDiff,
which performs the conflict handling as defined in NodeStore.rebase(NodeBuilder)
on the Oak SPI state level by annotating conflicting items with conflict
markers. |
class |
DefaultNodeStateDiff
Node state diff handler that by default does nothing.
|
class |
EqualsDiff
Helper class for comparing the equality of node states based on the
content diff mechanism.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
NodeState.compareAgainstBaseState(NodeState base,
NodeStateDiff diff)
Compares this node state against the given base state.
|
boolean |
AbstractNodeState.compareAgainstBaseState(NodeState base,
NodeStateDiff diff)
Generic default comparison algorithm that simply walks through the
property and child node lists of the given base state and compares
the entries one by one with corresponding ones (if any) in this state.
|
static boolean |
AbstractNodeState.compareAgainstBaseState(NodeState state,
NodeState base,
NodeStateDiff diff)
Generic default comparison algorithm that simply walks through the
property and child node lists of the given base state and compares
the entries one by one with corresponding ones (if any) in this state.
|
static boolean |
AbstractNodeState.comparePropertiesAgainstBaseState(NodeState state,
NodeState base,
NodeStateDiff diff)
Compares the properties of
base state with this
state. |
Copyright © 2012–2017 The Apache Software Foundation. All rights reserved.