public class ChangeCollectorProvider extends ValidatorProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMMIT_CONTEXT_OBSERVATION_CHANGESET |
static java.lang.String |
TYPE |
Constructor and Description |
---|
ChangeCollectorProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(org.apache.jackrabbit.oak.plugins.observation.ChangeCollectorProvider.Configuration config) |
protected int |
getMaxItems()
FOR TESTING-ONLY
|
protected int |
getMaxPathDepth()
FOR TESTING-ONLY
|
protected Validator |
getRootValidator(NodeState before,
NodeState after,
CommitInfo info)
Returns a validator for checking the changes between the given
two root states.
|
protected void |
modified(org.apache.jackrabbit.oak.plugins.observation.ChangeCollectorProvider.Configuration config) |
protected void |
setMaxItems(int maxItems)
FOR TESTING-ONLY
|
protected void |
setMaxPathDepth(int maxPathDepth)
FOR TESTING-ONLY
|
getRootEditor
public static final java.lang.String TYPE
public static final java.lang.String COMMIT_CONTEXT_OBSERVATION_CHANGESET
protected void activate(org.apache.jackrabbit.oak.plugins.observation.ChangeCollectorProvider.Configuration config)
protected void modified(org.apache.jackrabbit.oak.plugins.observation.ChangeCollectorProvider.Configuration config)
protected void setMaxPathDepth(int maxPathDepth)
protected int getMaxPathDepth()
protected void setMaxItems(int maxItems)
protected int getMaxItems()
protected Validator getRootValidator(NodeState before, NodeState after, CommitInfo info)
ValidatorProvider
getRootValidator
in class ValidatorProvider
before
- original root stateafter
- modified root stateinfo
- metadata about this commitnull
if this validator is not needed for this commitCopyright © 2012–2022 The Apache Software Foundation. All rights reserved.