Package org.codehaus.mojo.license
Class AbstractAddThirdPartyMojo.ExcludedLicenses
java.lang.Object
org.codehaus.mojo.license.utils.StringToList
org.codehaus.mojo.license.AbstractAddThirdPartyMojo.ExcludedLicenses
- Enclosing class:
AbstractAddThirdPartyMojo
Class to fill the
AbstractAddThirdPartyMojo.excludedLicenses
parameter, from a simple string to split, or a list of string.
TODO-tchemit We should find a way to create a plexus convertor.
- Since:
- 1.4
-
Field Summary
Fields inherited from class org.codehaus.mojo.license.utils.StringToList
LIST_OF_LICENSES_REG_EX
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor used whenAbstractAddThirdPartyMojo.excludedLicenses
parameter is configured by a list. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setExcludedLicense
(String excludeLicense) Add a simple exclude License to the list.Methods inherited from class org.codehaus.mojo.license.utils.StringToList
addEntryToList, getData
-
Constructor Details
-
ExcludedLicenses
public ExcludedLicenses()Default constructor used whenAbstractAddThirdPartyMojo.excludedLicenses
parameter is configured by a list.
-
-
Method Details
-
setExcludedLicense
Add a simple exclude License to the list.- Parameters:
excludeLicense
- the excludelicense to add.
-