public class SubstringLicenseMatcher extends SimplePatternBasedLicense
SimplePatternBasedLicense
to Ant's method naming conventions so it becomes easy to write
substring based license matchers inside an Ant build file.| Modifier and Type | Class and Description |
|---|---|
static class |
SubstringLicenseMatcher.Pattern
A simple wrapper around a substring.
|
| Constructor and Description |
|---|
SubstringLicenseMatcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguredPattern(SubstringLicenseMatcher.Pattern p) |
String[] |
getPatterns() |
getLicenseFamilyCategory, getLicenseFamilyName, getNotes, match, matches, reportOnLicense, reset, setLicenseFamilyCategory, setLicenseFamilyName, setNotes, setPatternspublic void addConfiguredPattern(SubstringLicenseMatcher.Pattern p)
public String[] getPatterns()
getPatterns in class SimplePatternBasedLicenseCopyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.