Enum AbstractDownloadLicensesMojo.OrderBy
java.lang.Object
java.lang.Enum<AbstractDownloadLicensesMojo.OrderBy>
org.codehaus.mojo.license.AbstractDownloadLicensesMojo.OrderBy
- All Implemented Interfaces:
Serializable, Comparable<AbstractDownloadLicensesMojo.OrderBy>
- Enclosing class:
AbstractDownloadLicensesMojo
public static enum AbstractDownloadLicensesMojo.OrderBy
extends Enum<AbstractDownloadLicensesMojo.OrderBy>
The order of the dependencies in the generated files.
- Since:
- 2.8.0
- Author:
- Tony Chemit - chemit@codelutin.com
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe group id, artifact id and version of the dependency.The name the dependency gives itself in its POM, falling back to the artifact id for dependencies which have no name, and for every dependency whenextendedInfois disabled.How the license of the dependency compares againstAbstractDownloadLicensesMojo.forbiddenLicenses,AbstractDownloadLicensesMojo.problematicLicensesandAbstractDownloadLicensesMojo.okLicenses, in that order, with the dependencies whose licenses are in none of the lists last.The license of the dependency.The order in which the dependencies were resolved. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static AbstractDownloadLicensesMojo.OrderBy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
none
The order in which the dependencies were resolved. -
dependencyName
The name the dependency gives itself in its POM, falling back to the artifact id for dependencies which have no name, and for every dependency whenextendedInfois disabled. -
dependencyGav
The group id, artifact id and version of the dependency. -
licenseName
The license of the dependency. Dependencies with more than one license are ordered by the alphabetically first of them, dependencies without a license come last. -
licenseMatch
How the license of the dependency compares againstAbstractDownloadLicensesMojo.forbiddenLicenses,AbstractDownloadLicensesMojo.problematicLicensesandAbstractDownloadLicensesMojo.okLicenses, in that order, with the dependencies whose licenses are in none of the lists last. Dependencies with more than one license are ordered by the most worrying of them.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-