Class FilePatternMatcher
java.lang.Object
com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FilePatternMatcher
A matcher for file patterns.
Holds patters for file paths to be included or excluded and provides an
accepts(String) method which evaluates a given path.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for the file pattern matcher. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines if the given path matches the configured include and exclude patterns.static FilePatternMatcher.Builderbuilder()Return aFilePatternMatcher.Builder.
-
Method Details
-
accepts
Determines if the given path matches the configured include and exclude patterns. NOTE: The include pattern is evaluated before the exclude pattern.- Parameters:
path- The path.- Returns:
trueif the path matches.
-
builder
Return aFilePatternMatcher.Builder.
-