java.lang.Object
software.xdev.testcontainers.imagebuilder.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

      protected final boolean dirOnly
    • pattern

      protected final String pattern
  • Constructor Details

    • AbstractMatcher

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