Class ChangeSetFilterImpl
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.observation.filter.ChangeSetFilterImpl
-
- All Implemented Interfaces:
ChangeSetFilter
public class ChangeSetFilterImpl extends Object implements ChangeSetFilter
-
-
Constructor Summary
Constructors Constructor Description ChangeSetFilterImpl(@NotNull Set<String> includedParentPaths, boolean isDeep, @Nullable Set<String> additionalIncludedParentPaths, Set<String> excludedParentPaths, Set<String> parentNodeNames, Set<String> parentNodeTypes, Set<String> propertyNames)ChangeSetFilterImpl(@NotNull Set<String> includedParentPaths, boolean isDeep, @Nullable Set<String> additionalIncludedParentPaths, Set<String> excludedParentPaths, Set<String> parentNodeNames, Set<String> parentNodeTypes, Set<String> propertyNames, int maxExcludedPaths)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexcludes(ChangeSet changeSet)Decides if the commit belonging to the provided ChangeSet is potentially relevant to the listener or if it can definitely be excluded.Set<String>getRootIncludePaths()for testing onlyStringtoString()
-
-
-
Constructor Detail
-
ChangeSetFilterImpl
public ChangeSetFilterImpl(@NotNull @NotNull Set<String> includedParentPaths, boolean isDeep, @Nullable @Nullable Set<String> additionalIncludedParentPaths, Set<String> excludedParentPaths, Set<String> parentNodeNames, Set<String> parentNodeTypes, Set<String> propertyNames)
-
ChangeSetFilterImpl
public ChangeSetFilterImpl(@NotNull @NotNull Set<String> includedParentPaths, boolean isDeep, @Nullable @Nullable Set<String> additionalIncludedParentPaths, Set<String> excludedParentPaths, Set<String> parentNodeNames, Set<String> parentNodeTypes, Set<String> propertyNames, int maxExcludedPaths)
-
-
Method Detail
-
excludes
public boolean excludes(ChangeSet changeSet)
Description copied from interface:ChangeSetFilterDecides if the commit belonging to the provided ChangeSet is potentially relevant to the listener or if it can definitely be excluded.- Specified by:
excludesin interfaceChangeSetFilter
-
-