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() |
match, matches, reset, setPatternsgetLicenseFamilyCategory, getLicenseFamilyName, getNotes, prune, reportOnLicense, setLicenseFamilyCategory, setLicenseFamilyName, setNotespublic void addConfiguredPattern(SubstringLicenseMatcher.Pattern p)
public String[] getPatterns()
getPatterns in class SimplePatternBasedLicenseCopyright © 2006–2025 Apache Software Foundation. All rights reserved.