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, setPatterns
public void addConfiguredPattern(SubstringLicenseMatcher.Pattern p)
public String[] getPatterns()
getPatterns
in class SimplePatternBasedLicense
Copyright © 2006-2015 The Apache Software Foundation. All Rights Reserved.