Class ChangeCollectorProvider

    • Constructor Detail

      • ChangeCollectorProvider

        public ChangeCollectorProvider()
    • Method Detail

      • activate

        protected void activate​(org.apache.jackrabbit.oak.plugins.observation.ChangeCollectorProvider.Configuration config)
      • modified

        protected void modified​(org.apache.jackrabbit.oak.plugins.observation.ChangeCollectorProvider.Configuration config)
      • setMaxPathDepth

        protected void setMaxPathDepth​(int maxPathDepth)
        FOR TESTING-ONLY
      • getMaxPathDepth

        protected int getMaxPathDepth()
        FOR TESTING-ONLY
      • setMaxItems

        protected void setMaxItems​(int maxItems)
        FOR TESTING-ONLY
      • getMaxItems

        protected int getMaxItems()
        FOR TESTING-ONLY
      • getRootValidator

        protected Validator getRootValidator​(NodeState before,
                                             NodeState after,
                                             CommitInfo info)
        Description copied from class: ValidatorProvider
        Returns a validator for checking the changes between the given two root states.
        Specified by:
        getRootValidator in class ValidatorProvider
        Parameters:
        before - original root state
        after - modified root state
        info - metadata about this commit
        Returns:
        validator for checking the modifications, or null if this validator is not needed for this commit