test_class.declarator: LOG = LoggerFactory.getLogger(ChangeSetFilterImplTest.class)
test_class.modifier: private static final
test_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(ChangeSetFilterImplTest.class);
test_class.type: Logger
test_class.var_name: LOG
test_class.file: oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/observation/filter/ChangeSetFilterImplTest.java
test_class.identifier: ChangeSetFilterImplTest
test_case.body: @Test
      public void testIncludeOnAllNodeTypeOverflow() throws Exception {
          ChangeSetBuilder builder = sampleBuilder();
          ChangeSetFilterImpl prefilter = new ChangeSetFilterImpl(s("/"), true, null, s("/excluded"), s("foo", "bars"), s("nt:file"), s());
          assertTrue(prefilter.excludes(builder.build()));
          overflowAllNodeTypes(builder);
          assertFalse(prefilter.excludes(builder.build()));
      }
test_case.class_method_signature: ChangeSetFilterImplTest.testIncludeOnAllNodeTypeOverflow()
test_case.full_signature: @Test public void testIncludeOnAllNodeTypeOverflow()
test_case.identifier: testIncludeOnAllNodeTypeOverflow
test_case.invocations: sampleBuilder s s s s s assertTrue excludes build overflowAllNodeTypes assertFalse excludes build
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIncludeOnAllNodeTypeOverflow()
focal_class.declarator: LOG = LoggerFactory.getLogger(ChangeSetFilterImpl.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(ChangeSetFilterImpl.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: MAX_EXCLUDED_PATHS = 11
focal_class.modifier: private static final
focal_class.original_string: private static final int MAX_EXCLUDED_PATHS = 11;
focal_class.type: int
focal_class.var_name: MAX_EXCLUDED_PATHS
focal_class.declarator: MAX_EXCLUDE_PATH_CUTOFF_LEVEL = 6
focal_class.modifier: private static final
focal_class.original_string: private static final int MAX_EXCLUDE_PATH_CUTOFF_LEVEL = 6;
focal_class.type: int
focal_class.var_name: MAX_EXCLUDE_PATH_CUTOFF_LEVEL
focal_class.declarator: rootIncludePaths
focal_class.modifier: private final
focal_class.original_string: private final Set<String> rootIncludePaths;
focal_class.type: Set<String>
focal_class.var_name: rootIncludePaths
focal_class.declarator: firstLevelIncludeNames
focal_class.modifier: private final
focal_class.original_string: private final Set<String> firstLevelIncludeNames;
focal_class.type: Set<String>
focal_class.var_name: firstLevelIncludeNames
focal_class.declarator: includePathPatterns
focal_class.modifier: private final
focal_class.original_string: private final Set<Pattern> includePathPatterns;
focal_class.type: Set<Pattern>
focal_class.var_name: includePathPatterns
focal_class.declarator: excludePathPatterns
focal_class.modifier: private final
focal_class.original_string: private final Set<Pattern> excludePathPatterns;
focal_class.type: Set<Pattern>
focal_class.var_name: excludePathPatterns
focal_class.declarator: unpreciseExcludePathPatterns
focal_class.modifier: private final
focal_class.original_string: private final Set<Pattern> unpreciseExcludePathPatterns;
focal_class.type: Set<Pattern>
focal_class.var_name: unpreciseExcludePathPatterns
focal_class.declarator: parentNodeNames
focal_class.modifier: private final
focal_class.original_string: private final Set<String> parentNodeNames;
focal_class.type: Set<String>
focal_class.var_name: parentNodeNames
focal_class.declarator: parentNodeTypes
focal_class.modifier: private final
focal_class.original_string: private final Set<String> parentNodeTypes;
focal_class.type: Set<String>
focal_class.var_name: parentNodeTypes
focal_class.declarator: propertyNames
focal_class.modifier: private final
focal_class.original_string: private final Set<String> propertyNames;
focal_class.type: Set<String>
focal_class.var_name: propertyNames
focal_class.file: oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/filter/ChangeSetFilterImpl.java
focal_class.identifier: ChangeSetFilterImpl
focal_class.interfaces: implements ChangeSetFilter
focal_class.class_method_signature: ChangeSetFilterImpl.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: ChangeSetFilterImpl.ChangeSetFilterImpl(@NotNull Set<String> includedParentPaths, boolean isDeep,
              @Nullable Set<String> additionalIncludedParentPaths, Set<String> excludedParentPaths,
              Set<String> parentNodeNames, Set<String> parentNodeTypes, Set<String> propertyNames)
focal_class.full_signature: public  ChangeSetFilterImpl(@NotNull Set<String> includedParentPaths, boolean isDeep,
              @Nullable Set<String> additionalIncludedParentPaths, Set<String> excludedParentPaths,
              Set<String> parentNodeNames, Set<String> parentNodeTypes, Set<String> propertyNames)
focal_class.identifier: ChangeSetFilterImpl
focal_class.modifiers: public
focal_class.parameters: (@NotNull Set<String> includedParentPaths, boolean isDeep,
              @Nullable Set<String> additionalIncludedParentPaths, Set<String> excludedParentPaths,
              Set<String> parentNodeNames, Set<String> parentNodeTypes, Set<String> propertyNames)
focal_class.signature:  ChangeSetFilterImpl(@NotNull Set<String> includedParentPaths, boolean isDeep,
              @Nullable Set<String> additionalIncludedParentPaths, Set<String> excludedParentPaths,
              Set<String> parentNodeNames, Set<String> parentNodeTypes, Set<String> propertyNames)
focal_class.class_method_signature: ChangeSetFilterImpl.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)
focal_class.full_signature: public  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)
focal_class.identifier: ChangeSetFilterImpl
focal_class.modifiers: public
focal_class.parameters: (@NotNull Set<String> includedParentPaths, boolean isDeep,
              @Nullable Set<String> additionalIncludedParentPaths, Set<String> excludedParentPaths,
              Set<String> parentNodeNames, Set<String> parentNodeTypes, Set<String> propertyNames,
              int maxExcludedPaths)
focal_class.signature:  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)
focal_class.class_method_signature: ChangeSetFilterImpl.firstLevelName(String path)
focal_class.full_signature: private String firstLevelName(String path)
focal_class.identifier: firstLevelName
focal_class.modifiers: private
focal_class.parameters: (String path)
focal_class.return: String
focal_class.signature: String firstLevelName(String path)
focal_class.class_method_signature: ChangeSetFilterImpl.unprecisePaths(Set<String> paths, int maxExcludedPaths, int maxExcludePathCutOffLevel)
focal_class.full_signature: private Set<String> unprecisePaths(Set<String> paths, int maxExcludedPaths, int maxExcludePathCutOffLevel)
focal_class.identifier: unprecisePaths
focal_class.modifiers: private
focal_class.parameters: (Set<String> paths, int maxExcludedPaths, int maxExcludePathCutOffLevel)
focal_class.return: Set<String>
focal_class.signature: Set<String> unprecisePaths(Set<String> paths, int maxExcludedPaths, int maxExcludePathCutOffLevel)
focal_class.class_method_signature: ChangeSetFilterImpl.unprecisePaths(Set<String> paths, int level)
focal_class.full_signature: private Set<String> unprecisePaths(Set<String> paths, int level)
focal_class.identifier: unprecisePaths
focal_class.modifiers: private
focal_class.parameters: (Set<String> paths, int level)
focal_class.return: Set<String>
focal_class.signature: Set<String> unprecisePaths(Set<String> paths, int level)
focal_class.class_method_signature: ChangeSetFilterImpl.getRootIncludePaths()
focal_class.full_signature: public Set<String> getRootIncludePaths()
focal_class.identifier: getRootIncludePaths
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Set<String>
focal_class.signature: Set<String> getRootIncludePaths()
focal_class.class_method_signature: ChangeSetFilterImpl.asPattern(String patternWithGlobs)
focal_class.full_signature: private Pattern asPattern(String patternWithGlobs)
focal_class.identifier: asPattern
focal_class.modifiers: private
focal_class.parameters: (String patternWithGlobs)
focal_class.return: Pattern
focal_class.signature: Pattern asPattern(String patternWithGlobs)
focal_class.class_method_signature: ChangeSetFilterImpl.excludes(ChangeSet changeSet)
focal_class.full_signature: @Override public boolean excludes(ChangeSet changeSet)
focal_class.identifier: excludes
focal_class.modifiers: @Override public
focal_class.parameters: (ChangeSet changeSet)
focal_class.return: boolean
focal_class.signature: boolean excludes(ChangeSet changeSet)
focal_class.class_method_signature: ChangeSetFilterImpl.doExcludes(ChangeSet changeSet)
focal_class.full_signature: private boolean doExcludes(ChangeSet changeSet)
focal_class.identifier: doExcludes
focal_class.modifiers: private
focal_class.parameters: (ChangeSet changeSet)
focal_class.return: boolean
focal_class.signature: boolean doExcludes(ChangeSet changeSet)
focal_class.class_method_signature: ChangeSetFilterImpl.patternsMatch(Set<Pattern> pathPatterns, String path)
focal_class.full_signature: private static boolean patternsMatch(Set<Pattern> pathPatterns, String path)
focal_class.identifier: patternsMatch
focal_class.modifiers: private static
focal_class.parameters: (Set<Pattern> pathPatterns, String path)
focal_class.return: boolean
focal_class.signature: boolean patternsMatch(Set<Pattern> pathPatterns, String path)
focal_method.body: @Override
      public boolean excludes(ChangeSet changeSet) {
          try{
              return doExcludes(changeSet);
          } catch(Exception e) {
              LOG.warn("excludes: got an Exception while evaluating excludes: " + e.getMessage() + 
                      ", changeSet=" + changeSet, e);
              return false; // false is the safer option
          }
      }
focal_method.class_method_signature: ChangeSetFilterImpl.excludes(ChangeSet changeSet)
focal_method.full_signature: @Override public boolean excludes(ChangeSet changeSet)
focal_method.identifier: excludes
focal_method.invocations: doExcludes warn getMessage
focal_method.modifiers: @Override public
focal_method.parameters: (ChangeSet changeSet)
focal_method.return: boolean
focal_method.signature: boolean excludes(ChangeSet changeSet)