Modifier and Type | Class and Description |
---|---|
class |
CrossMountReferenceValidator |
Modifier and Type | Method and Description |
---|---|
Validator |
CrossMountReferenceValidator.childNodeAdded(java.lang.String name,
NodeState after) |
Validator |
CrossMountReferenceValidator.childNodeChanged(java.lang.String name,
NodeState before,
NodeState after) |
protected Validator |
CrossMountReferenceValidatorProvider.getRootValidator(NodeState before,
NodeState after,
CommitInfo info) |
@NotNull Validator |
PrivateStoreValidatorProvider.getRootValidator(NodeState before,
NodeState after,
CommitInfo info) |
Modifier and Type | Class and Description |
---|---|
class |
ConflictValidator
Validator which checks the presence of conflict markers
in the tree in fails the commit if any are found. |
Modifier and Type | Method and Description |
---|---|
Validator |
ConflictValidator.childNodeAdded(java.lang.String name,
NodeState after) |
Validator |
ConflictValidator.childNodeChanged(java.lang.String name,
NodeState before,
NodeState after) |
Validator |
ConflictValidator.childNodeDeleted(java.lang.String name,
NodeState before) |
Validator |
ConflictValidatorProvider.getRootValidator(NodeState before,
NodeState after,
CommitInfo info) |
Modifier and Type | Method and Description |
---|---|
protected @Nullable Validator |
ItemSaveValidatorProvider.getRootValidator(NodeState before,
NodeState after,
CommitInfo info) |
Modifier and Type | Method and Description |
---|---|
Validator |
NameValidatorProvider.getRootValidator(NodeState before,
NodeState after,
CommitInfo info) |
Modifier and Type | Method and Description |
---|---|
protected Validator |
ChangeCollectorProvider.getRootValidator(NodeState before,
NodeState after,
CommitInfo info) |
Modifier and Type | Method and Description |
---|---|
@NotNull Validator |
AccessControlValidatorProvider.getRootValidator(NodeState before,
NodeState after,
CommitInfo info) |
Modifier and Type | Class and Description |
---|---|
class |
MoveAwarePermissionValidator |
Modifier and Type | Method and Description |
---|---|
Validator |
MoveAwarePermissionValidator.childNodeAdded(java.lang.String name,
NodeState after) |
Validator |
MoveAwarePermissionValidator.childNodeDeleted(java.lang.String name,
NodeState before) |
@NotNull Validator |
PermissionValidatorProvider.getRootValidator(NodeState before,
NodeState after,
CommitInfo info) |
@NotNull Validator |
PermissionStoreValidatorProvider.getRootValidator(NodeState before,
NodeState after,
CommitInfo info) |
Modifier and Type | Class and Description |
---|---|
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 |
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 |
VisibleValidator
Validator implementation that allows to exclude hidden nodes and/or properties
for the validation process.
|
Modifier and Type | Field and Description |
---|---|
static Validator |
DefaultValidator.INSTANCE |
Modifier and Type | Method and Description |
---|---|
Validator |
SubtreeValidator.childNodeAdded(java.lang.String name,
NodeState after) |
@Nullable Validator |
VisibleValidator.childNodeAdded(java.lang.String name,
NodeState after) |
Validator |
DefaultValidator.childNodeAdded(java.lang.String name,
NodeState after) |
Validator |
SubtreeExcludingValidator.childNodeAdded(java.lang.String name,
NodeState after) |
@Nullable Validator |
Validator.childNodeAdded(java.lang.String name,
NodeState after)
Validate an added node
|
Validator |
FailingValidator.childNodeAdded(java.lang.String name,
NodeState after) |
Validator |
SubtreeValidator.childNodeChanged(java.lang.String name,
NodeState before,
NodeState after) |
@Nullable Validator |
VisibleValidator.childNodeChanged(java.lang.String name,
NodeState before,
NodeState after) |
Validator |
DefaultValidator.childNodeChanged(java.lang.String name,
NodeState before,
NodeState after) |
Validator |
SubtreeExcludingValidator.childNodeChanged(java.lang.String name,
NodeState before,
NodeState after) |
@Nullable Validator |
Validator.childNodeChanged(java.lang.String name,
NodeState before,
NodeState after)
Validate a changed node
|
Validator |
FailingValidator.childNodeChanged(java.lang.String name,
NodeState before,
NodeState after) |
Validator |
SubtreeValidator.childNodeDeleted(java.lang.String name,
NodeState before) |
@Nullable Validator |
VisibleValidator.childNodeDeleted(java.lang.String name,
NodeState before) |
Validator |
DefaultValidator.childNodeDeleted(java.lang.String name,
NodeState before) |
Validator |
SubtreeExcludingValidator.childNodeDeleted(java.lang.String name,
NodeState before) |
@Nullable Validator |
Validator.childNodeDeleted(java.lang.String name,
NodeState before)
Validate a deleted node
|
Validator |
FailingValidator.childNodeDeleted(java.lang.String name,
NodeState before) |
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.
|
Modifier and Type | Method and Description |
---|---|
protected SubtreeExcludingValidator |
SubtreeExcludingValidator.createValidator(Validator validator,
java.util.List<java.lang.String> path) |
Constructor and Description |
---|
SubtreeExcludingValidator(Validator validator,
java.util.List<java.lang.String> path) |
SubtreeValidator(Validator validator,
java.lang.String... path) |
VisibleValidator(@NotNull Validator validator,
boolean hideNodes,
boolean hideProperties) |
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) . |
Modifier and Type | Method and Description |
---|---|
Validator |
MoveDetector.childNodeAdded(java.lang.String name,
NodeState after) |
Validator |
MoveDetector.childNodeChanged(java.lang.String name,
NodeState before,
NodeState after) |
Validator |
MoveDetector.childNodeDeleted(java.lang.String name,
NodeState before) |
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.