Package org.apache.rat.anttasks
Class SubstringLicenseMatcher
java.lang.Object
org.apache.rat.analysis.license.BaseLicense
org.apache.rat.analysis.license.SimplePatternBasedLicense
org.apache.rat.anttasks.SubstringLicenseMatcher
- All Implemented Interfaces:
IHeaderMatcher
Adapts
SimplePatternBasedLicense
to Ant's method naming conventions so it becomes easy to write
substring based license matchers inside an Ant build file.- Since:
- Rat Antlib 0.8
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA simple wrapper around a substring. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.rat.analysis.license.SimplePatternBasedLicense
match, matches, reset, setPatternsMethods inherited from class org.apache.rat.analysis.license.BaseLicense
getLicenseFamilyCategory, getLicenseFamilyName, getNotes, prune, reportOnLicense, setLicenseFamilyCategory, setLicenseFamilyName, setNotes
-
Constructor Details
-
SubstringLicenseMatcher
public SubstringLicenseMatcher()
-
-
Method Details
-
addConfiguredPattern
-
getPatterns
- Overrides:
getPatternsin classSimplePatternBasedLicense
-