| Package | Description |
|---|---|
| org.apache.jackrabbit.oak.spi.commit | |
| org.apache.jackrabbit.oak.spi.state |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Validator
Content change validator.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CompositeEditor
Aggregation of a list of editors into a single editor.
|
class |
DefaultEditor
Editor that does nothing by default and doesn't recurse into subtrees.
|
class |
DefaultMoveValidator
MoveValidator that does nothing by default and doesn't recurse into subtrees. |
class |
DefaultValidator
Validator that does nothing by default and doesn't recurse into subtrees.
|
class |
FailingValidator
Validator that rejects all changes.
|
class |
ProgressNotificationEditor
This
Editor instance logs invocations to the logger
passed to its constructor after each 10000 calls to it
enter() method. |
class |
SubtreeEditor
Editor wrapper that passes only changes in the specified subtree to
the given delegate editor.
|
class |
SubtreeExcludingValidator
Validator that excludes a subtree from the validation process and delegates
validation of other changes to another given validator.
|
class |
SubtreeValidator
Validator that detects changes to a specified subtree and delegates the
validation of such changes to another given validator.
|
class |
VisibleEditor
Editor wrapper that passes only changes to non-hidden nodes and properties
(i.e.
|
class |
VisibleValidator
Validator implementation that allows to exclude hidden nodes and/or properties
for the validation process.
|
| Modifier and Type | Field and Description |
|---|---|
static Editor |
DefaultEditor.INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Editor |
DefaultEditor.childNodeAdded(String name,
NodeState after) |
Editor |
CompositeEditor.childNodeAdded(String name,
NodeState after) |
@Nullable Editor |
SubtreeEditor.childNodeAdded(String name,
NodeState after) |
Editor |
ProgressNotificationEditor.childNodeAdded(String name,
NodeState after) |
@Nullable Editor |
Editor.childNodeAdded(String name,
NodeState after)
Processes an added child node.
|
@Nullable Editor |
VisibleEditor.childNodeAdded(String name,
NodeState after) |
Editor |
DefaultEditor.childNodeChanged(String name,
NodeState before,
NodeState after) |
Editor |
CompositeEditor.childNodeChanged(String name,
NodeState before,
NodeState after) |
@Nullable Editor |
SubtreeEditor.childNodeChanged(String name,
NodeState before,
NodeState after) |
Editor |
ProgressNotificationEditor.childNodeChanged(String name,
NodeState before,
NodeState after) |
@Nullable Editor |
Editor.childNodeChanged(String name,
NodeState before,
NodeState after)
Processes a changed child node.
|
@Nullable Editor |
VisibleEditor.childNodeChanged(String name,
NodeState before,
NodeState after) |
Editor |
DefaultEditor.childNodeDeleted(String name,
NodeState before) |
Editor |
CompositeEditor.childNodeDeleted(String name,
NodeState before) |
@Nullable Editor |
SubtreeEditor.childNodeDeleted(String name,
NodeState before) |
Editor |
ProgressNotificationEditor.childNodeDeleted(String name,
NodeState before) |
@Nullable Editor |
Editor.childNodeDeleted(String name,
NodeState before)
Processes a deleted child node.
|
@Nullable Editor |
VisibleEditor.childNodeDeleted(String name,
NodeState before) |
static @Nullable Editor |
CompositeEditor.compose(@NotNull Collection<? extends Editor> editors) |
@Nullable Editor |
WhiteboardEditorProvider.getRootEditor(NodeState before,
NodeState after,
NodeBuilder builder,
CommitInfo info) |
@Nullable Editor |
ValidatorProvider.getRootEditor(NodeState before,
NodeState after,
NodeBuilder builder,
CommitInfo info) |
@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.
|
static @Nullable Editor |
VisibleEditor.wrap(@Nullable Editor editor) |
static @Nullable Editor |
ProgressNotificationEditor.wrap(@Nullable Editor editor,
org.slf4j.Logger logger,
String message) |
| Modifier and Type | Method and Description |
|---|---|
static @Nullable org.apache.jackrabbit.oak.api.CommitFailedException |
EditorDiff.process(@Nullable Editor editor,
@NotNull NodeState before,
@NotNull NodeState after)
Validates and possibly edits the given subtree by diffing
and recursing through it.
|
static @Nullable Editor |
VisibleEditor.wrap(@Nullable Editor editor) |
static @Nullable Editor |
ProgressNotificationEditor.wrap(@Nullable Editor editor,
org.slf4j.Logger logger,
String message) |
| Constructor and Description |
|---|
CompositeEditor(Editor... editors) |
SubtreeEditor(Editor editor,
String... path) |
VisibleEditor(Editor editor) |
| Constructor and Description |
|---|
CompositeEditor(Collection<? extends Editor> editors) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MoveValidator
A validator that also receives notifications about moved nodes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MoveDetector
A
MoveDetector is a validator that can detect certain move operations
and reports these to the wrapped MoveValidator by calling
MoveValidator.move(String, String, NodeState). |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.