Package org.apache.rat.mp.util.ignore
Class GitIgnoreMatcher
java.lang.Object
org.apache.rat.mp.util.ignore.GitIgnoreMatcher
- All Implemented Interfaces:
IgnoreMatcher
-
Constructor Summary
ConstructorsConstructorDescriptionGitIgnoreMatcher(org.apache.maven.plugin.logging.Log log, File projectBaseDir) -
Method Summary
-
Constructor Details
-
GitIgnoreMatcher
-
-
Method Details
-
isEmpty
public boolean isEmpty()Description copied from interface:IgnoreMatcherReturnstrueif this IgnoreMatcher contains no rules.- Specified by:
isEmptyin interfaceIgnoreMatcher- Returns:
trueif this IgnoreMatcher contains no rules
-
isIgnoredFile
Description copied from interface:IgnoreMatcherChecks if the file matches the stored expressions.- Specified by:
isIgnoredFilein interfaceIgnoreMatcher- Parameters:
filename- The filename to be checked- Returns:
- empty: not matched, True: must be ignored, False: it must be UNignored
-
toString
-