Interface IncludeMatcher

All Known Implementing Classes:
AntPatternMatcher, GlobMatcher, RegexMatcher

public interface IncludeMatcher
Matches a file path against a pattern.

Internal interface used by VersionEvaluatorProvider to determine which files are relevant for version evaluation.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(Path path)
    Checks whether the path matches the pattern.
  • Method Details

    • matches

      boolean matches(Path path)
      Checks whether the path matches the pattern.
      Parameters:
      path - the file path (relative to the work tree)
      Returns:
      true if the path matches