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 Details

    • none

      public static final AbstractDownloadLicensesMojo.OrderBy none
      The order in which the dependencies were resolved.
    • dependencyName

      public static final AbstractDownloadLicensesMojo.OrderBy 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 when extendedInfo is disabled.
    • dependencyGav

      public static final AbstractDownloadLicensesMojo.OrderBy dependencyGav
      The group id, artifact id and version of the dependency.
    • licenseName

      public static final AbstractDownloadLicensesMojo.OrderBy 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

      public static final AbstractDownloadLicensesMojo.OrderBy licenseMatch
      How the license of the dependency compares against AbstractDownloadLicensesMojo.forbiddenLicenses, AbstractDownloadLicensesMojo.problematicLicenses and AbstractDownloadLicensesMojo.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

      public static AbstractDownloadLicensesMojo.OrderBy[] 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

      public static AbstractDownloadLicensesMojo.OrderBy valueOf(String name)
      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 name
      NullPointerException - if the argument is null