test_class.declarator: tree
test_class.modifier: private
test_class.original_string: private ImmutableTree tree;
test_class.type: ImmutableTree
test_class.var_name: tree
test_class.file: oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/observation/filter/GlobbingPathFilterTest.java
test_class.identifier: GlobbingPathFilterTest
test_case.body: @Test
      public void wildcardMatches() {
          EventFilter filter = new GlobbingPathFilter("*.*");
          assertFalse(filter.includeAdd("a", tree.getNodeState()));
          assertTrue(filter.includeAdd(".b", tree.getNodeState()));
          assertTrue(filter.includeAdd("a.b", tree.getNodeState()));
          assertTrue(filter.includeAdd("a.", tree.getNodeState()));
          
          filter = new GlobbingPathFilter("*.html");
          assertFalse(filter.includeAdd("a.b", tree.getNodeState()));
          assertFalse(filter.includeAdd("html", tree.getNodeState()));
          assertTrue(filter.includeAdd(".html", tree.getNodeState()));
          assertTrue(filter.includeAdd("a.html", tree.getNodeState()));
  
          filter = new GlobbingPathFilter("*foo*.html");
          assertFalse(filter.includeAdd("a.b", tree.getNodeState()));
          assertFalse(filter.includeAdd("a.html", tree.getNodeState()));
          assertTrue(filter.includeAdd("foo.html", tree.getNodeState()));
          assertTrue(filter.includeAdd("my-foo-bar.html", tree.getNodeState()));
      }
test_case.class_method_signature: GlobbingPathFilterTest.wildcardMatches()
test_case.full_signature: @Test public void wildcardMatches()
test_case.identifier: wildcardMatches
test_case.invocations: assertFalse includeAdd getNodeState assertTrue includeAdd getNodeState assertTrue includeAdd getNodeState assertTrue includeAdd getNodeState assertFalse includeAdd getNodeState assertFalse includeAdd getNodeState assertTrue includeAdd getNodeState assertTrue includeAdd getNodeState assertFalse includeAdd getNodeState assertFalse includeAdd getNodeState assertTrue includeAdd getNodeState assertTrue includeAdd getNodeState
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void wildcardMatches()
focal_class.declarator: STAR = "*"
focal_class.modifier: public static final
focal_class.original_string: public static final String STAR = "*";
focal_class.type: String
focal_class.var_name: STAR
focal_class.declarator: STAR_STAR = "**"
focal_class.modifier: public static final
focal_class.original_string: public static final String STAR_STAR = "**";
focal_class.type: String
focal_class.var_name: STAR_STAR
focal_class.declarator: pattern
focal_class.modifier: private final
focal_class.original_string: private final List<String> pattern;
focal_class.type: List<String>
focal_class.var_name: pattern
focal_class.declarator: patternMap
focal_class.modifier: private final
focal_class.original_string: private final Map<String, Pattern> patternMap;
focal_class.type: Map<String, Pattern>
focal_class.var_name: patternMap
focal_class.file: oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/filter/GlobbingPathFilter.java
focal_class.identifier: GlobbingPathFilter
focal_class.interfaces: implements EventFilter
focal_class.class_method_signature: GlobbingPathFilter.GlobbingPathFilter(@NotNull List<String> pattern, Map<String, Pattern> patternMap)
focal_class.full_signature: private  GlobbingPathFilter(@NotNull List<String> pattern, Map<String, Pattern> patternMap)
focal_class.identifier: GlobbingPathFilter
focal_class.modifiers: private
focal_class.parameters: (@NotNull List<String> pattern, Map<String, Pattern> patternMap)
focal_class.signature:  GlobbingPathFilter(@NotNull List<String> pattern, Map<String, Pattern> patternMap)
focal_class.class_method_signature: GlobbingPathFilter.GlobbingPathFilter(@NotNull String pattern, Map<String, Pattern> patternMap)
focal_class.full_signature: public  GlobbingPathFilter(@NotNull String pattern, Map<String, Pattern> patternMap)
focal_class.identifier: GlobbingPathFilter
focal_class.modifiers: public
focal_class.parameters: (@NotNull String pattern, Map<String, Pattern> patternMap)
focal_class.signature:  GlobbingPathFilter(@NotNull String pattern, Map<String, Pattern> patternMap)
focal_class.class_method_signature: GlobbingPathFilter.GlobbingPathFilter(@NotNull String pattern)
focal_class.full_signature: public  GlobbingPathFilter(@NotNull String pattern)
focal_class.identifier: GlobbingPathFilter
focal_class.modifiers: public
focal_class.parameters: (@NotNull String pattern)
focal_class.signature:  GlobbingPathFilter(@NotNull String pattern)
focal_class.class_method_signature: GlobbingPathFilter.includeAdd(PropertyState after)
focal_class.full_signature: @Override public boolean includeAdd(PropertyState after)
focal_class.identifier: includeAdd
focal_class.modifiers: @Override public
focal_class.parameters: (PropertyState after)
focal_class.return: boolean
focal_class.signature: boolean includeAdd(PropertyState after)
focal_class.class_method_signature: GlobbingPathFilter.includeChange(PropertyState before, PropertyState after)
focal_class.full_signature: @Override public boolean includeChange(PropertyState before, PropertyState after)
focal_class.identifier: includeChange
focal_class.modifiers: @Override public
focal_class.parameters: (PropertyState before, PropertyState after)
focal_class.return: boolean
focal_class.signature: boolean includeChange(PropertyState before, PropertyState after)
focal_class.class_method_signature: GlobbingPathFilter.includeDelete(PropertyState before)
focal_class.full_signature: @Override public boolean includeDelete(PropertyState before)
focal_class.identifier: includeDelete
focal_class.modifiers: @Override public
focal_class.parameters: (PropertyState before)
focal_class.return: boolean
focal_class.signature: boolean includeDelete(PropertyState before)
focal_class.class_method_signature: GlobbingPathFilter.includeAdd(String name, NodeState after)
focal_class.full_signature: @Override public boolean includeAdd(String name, NodeState after)
focal_class.identifier: includeAdd
focal_class.modifiers: @Override public
focal_class.parameters: (String name, NodeState after)
focal_class.return: boolean
focal_class.signature: boolean includeAdd(String name, NodeState after)
focal_class.class_method_signature: GlobbingPathFilter.includeDelete(String name, NodeState before)
focal_class.full_signature: @Override public boolean includeDelete(String name, NodeState before)
focal_class.identifier: includeDelete
focal_class.modifiers: @Override public
focal_class.parameters: (String name, NodeState before)
focal_class.return: boolean
focal_class.signature: boolean includeDelete(String name, NodeState before)
focal_class.class_method_signature: GlobbingPathFilter.includeMove(String sourcePath, String name, NodeState moved)
focal_class.full_signature: @Override public boolean includeMove(String sourcePath, String name, NodeState moved)
focal_class.identifier: includeMove
focal_class.modifiers: @Override public
focal_class.parameters: (String sourcePath, String name, NodeState moved)
focal_class.return: boolean
focal_class.signature: boolean includeMove(String sourcePath, String name, NodeState moved)
focal_class.class_method_signature: GlobbingPathFilter.includeReorder(String destName, String name, NodeState reordered)
focal_class.full_signature: @Override public boolean includeReorder(String destName, String name, NodeState reordered)
focal_class.identifier: includeReorder
focal_class.modifiers: @Override public
focal_class.parameters: (String destName, String name, NodeState reordered)
focal_class.return: boolean
focal_class.signature: boolean includeReorder(String destName, String name, NodeState reordered)
focal_class.class_method_signature: GlobbingPathFilter.getPattern(String wildcardStr)
focal_class.full_signature: private Pattern getPattern(String wildcardStr)
focal_class.identifier: getPattern
focal_class.modifiers: private
focal_class.parameters: (String wildcardStr)
focal_class.return: Pattern
focal_class.signature: Pattern getPattern(String wildcardStr)
focal_class.class_method_signature: GlobbingPathFilter.wildcardMatch(String pathElement, String wildcardStr)
focal_class.full_signature: private boolean wildcardMatch(String pathElement, String wildcardStr)
focal_class.identifier: wildcardMatch
focal_class.modifiers: private
focal_class.parameters: (String pathElement, String wildcardStr)
focal_class.return: boolean
focal_class.signature: boolean wildcardMatch(String pathElement, String wildcardStr)
focal_class.class_method_signature: GlobbingPathFilter.create(String name, NodeState before, NodeState after)
focal_class.full_signature: @Override public EventFilter create(String name, NodeState before, NodeState after)
focal_class.identifier: create
focal_class.modifiers: @Override public
focal_class.parameters: (String name, NodeState before, NodeState after)
focal_class.return: EventFilter
focal_class.signature: EventFilter create(String name, NodeState before, NodeState after)
focal_class.class_method_signature: GlobbingPathFilter.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: GlobbingPathFilter.includeItem(String name)
focal_class.full_signature: private boolean includeItem(String name)
focal_class.identifier: includeItem
focal_class.modifiers: private
focal_class.parameters: (String name)
focal_class.return: boolean
focal_class.signature: boolean includeItem(String name)
focal_method.body: @Override
      public boolean includeAdd(PropertyState after) {
          return includeItem(after.getName());
      }
focal_method.class_method_signature: GlobbingPathFilter.includeAdd(PropertyState after)
focal_method.full_signature: @Override public boolean includeAdd(PropertyState after)
focal_method.identifier: includeAdd
focal_method.invocations: includeItem getName
focal_method.modifiers: @Override public
focal_method.parameters: (PropertyState after)
focal_method.return: boolean
focal_method.signature: boolean includeAdd(PropertyState after)