Package org.codehaus.mojo.license
Class AbstractAddThirdPartyMojo.IncludedLicenses
java.lang.Object
org.codehaus.mojo.license.utils.StringToList
org.codehaus.mojo.license.AbstractAddThirdPartyMojo.IncludedLicenses
- Enclosing class:
AbstractAddThirdPartyMojo
Class to fill the
AbstractAddThirdPartyMojo.includedLicenses
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.includedLicenses
parameter is configured by a list. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setIncludedLicense
(String includeLicense) Add a simple a include license to the list.Methods inherited from class org.codehaus.mojo.license.utils.StringToList
addEntryToList, getData
-
Constructor Details
-
IncludedLicenses
public IncludedLicenses()Default constructor used whenAbstractAddThirdPartyMojo.includedLicenses
parameter is configured by a list.
-
-
Method Details
-
setIncludedLicense
Add a simple a include license to the list.- Parameters:
includeLicense
- the include license to add.
-