Class AbstractMatcher

java.lang.Object
org.eclipse.jgit.ignore.internal.AbstractMatcher
All Implemented Interfaces:
IMatcher
Direct Known Subclasses:
NameMatcher, PathMatcher, WildMatcher

public abstract class AbstractMatcher extends Object implements IMatcher
Base class for default methods as toString() and such.

This class is immutable and thread safe.

  • Field Details

    • dirOnly

      final boolean dirOnly
    • pattern

      final String pattern
  • Constructor Details

    • AbstractMatcher

      AbstractMatcher(String pattern, boolean dirOnly)
      Parameters:
      pattern - string to parse
      dirOnly - true if this matcher should match only directories
  • Method Details