Package io.codemodder
Interface IncludesExcludesPattern
- All Known Implementing Classes:
IncludesExcludesPattern.Default
public interface IncludesExcludesPattern
Holds includes and excludes patterns for files
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
An includes/excludes pattern that matches any files.static class
static final class
An includes/excludes pattern that matches java files. -
Method Summary
Modifier and TypeMethodDescriptionstatic IncludesExcludesPattern
Returns an includes/excludes pattern that matches any files.static IncludesExcludesPattern
Returns an includes/excludes pattern that matches any java files.getRootedMatcher
(Path root) Returns an IncludesExcludes file matcher that matches files following the patterns specified patterns.
-
Method Details
-
getRootedMatcher
Returns an IncludesExcludes file matcher that matches files following the patterns specified patterns. The patterns must follow the java'sPathMatcher
specification and are treated as relative paths with regard to the repository root. -
getJavaMatcher
Returns an includes/excludes pattern that matches any java files. -
getAnyMatcher
Returns an includes/excludes pattern that matches any files.
-