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 classAn includes/excludes pattern that matches any files.static classstatic final classAn includes/excludes pattern that matches java files. -
Method Summary
Modifier and TypeMethodDescriptionstatic IncludesExcludesPatternReturns an includes/excludes pattern that matches any files.static IncludesExcludesPatternReturns 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'sPathMatcherspecification 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.
-