| Package | Description |
|---|---|
| org.apache.jackrabbit.oak.plugins.memory | |
| org.apache.jackrabbit.oak.spi.commit | |
| org.apache.jackrabbit.oak.spi.state |
| Modifier and Type | Method and Description |
|---|---|
NodeState |
MemoryNodeStore.merge(@NotNull NodeBuilder builder,
@NotNull CommitHook commitHook,
@NotNull CommitInfo info)
This implementation is equal to first rebasing the builder and then applying it to a
new branch and immediately merging it back.
|
| Modifier and Type | Field and Description |
|---|---|
static CommitInfo |
CommitInfo.EMPTY
Empty commit information object.
|
static CommitInfo |
CommitInfo.EMPTY_EXTERNAL
Empty commit information object to be used for external changes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BackgroundObserver.contentChanged(@NotNull NodeState root,
@NotNull CommitInfo info) |
void |
ChangeDispatcher.contentChanged(@NotNull NodeState root,
@NotNull CommitInfo info) |
void |
CompositeObserver.contentChanged(@NotNull NodeState root,
@NotNull CommitInfo info) |
void |
DiffObserver.contentChanged(@NotNull NodeState root,
@NotNull CommitInfo info) |
void |
EmptyObserver.contentChanged(@NotNull NodeState root,
@NotNull CommitInfo info) |
void |
Observer.contentChanged(@NotNull NodeState root,
@NotNull CommitInfo info)
Observes a content change.
|
protected abstract NodeStateDiff |
DiffObserver.getRootDiff(@NotNull NodeState before,
@NotNull NodeState after,
@NotNull CommitInfo info)
Returns the diff handler to be used for the given content change.
|
@Nullable Editor |
CompositeEditorProvider.getRootEditor(NodeState before,
NodeState after,
NodeBuilder builder,
CommitInfo info) |
@Nullable Editor |
EditorProvider.getRootEditor(NodeState before,
NodeState after,
NodeBuilder builder,
CommitInfo info)
Returns an editor for processing changes between the given two states.
|
@Nullable Editor |
ValidatorProvider.getRootEditor(NodeState before,
NodeState after,
NodeBuilder builder,
CommitInfo info) |
@Nullable Editor |
WhiteboardEditorProvider.getRootEditor(NodeState before,
NodeState after,
NodeBuilder builder,
CommitInfo info) |
protected abstract @Nullable Validator |
ValidatorProvider.getRootValidator(NodeState before,
NodeState after,
CommitInfo info)
Returns a validator for checking the changes between the given
two root states.
|
@NotNull NodeState |
CommitHook.processCommit(NodeState before,
NodeState after,
CommitInfo info)
Validates and/or modifies the given content change before it gets
persisted.
|
@NotNull NodeState |
CompositeHook.processCommit(NodeState before,
NodeState after,
CommitInfo info) |
@NotNull NodeState |
EditorHook.processCommit(@NotNull NodeState before,
@NotNull NodeState after,
@NotNull CommitInfo info) |
@NotNull NodeState |
EmptyHook.processCommit(NodeState before,
NodeState after,
CommitInfo info) |
@NotNull NodeState |
ResetCommitAttributeHook.processCommit(NodeState before,
NodeState after,
CommitInfo info) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull NodeState |
NodeStoreBranch.merge(@NotNull CommitHook hook,
@NotNull CommitInfo info)
Merges the changes in this branch to the main content tree.
|
@NotNull NodeState |
NodeStore.merge(@NotNull NodeBuilder builder,
@NotNull CommitHook commitHook,
@NotNull CommitInfo info)
|
NodeState |
ProxyNodeStore.merge(NodeBuilder builder,
CommitHook commitHook,
CommitInfo info) |
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.