Enum LicenseClassifier.LicenseMatch

java.lang.Object
java.lang.Enum<LicenseClassifier.LicenseMatch>
org.codehaus.mojo.license.download.LicenseClassifier.LicenseMatch
All Implemented Interfaces:
Serializable, Comparable<LicenseClassifier.LicenseMatch>
Enclosing class:
LicenseClassifier

public static enum LicenseClassifier.LicenseMatch extends Enum<LicenseClassifier.LicenseMatch>
How a license compares against the configured lists, from the most to the least worrying. The order of the constants is the order dependencies appear in when ordered by license match.
Since:
2.8.0
  • Enum Constant Details

  • Method Details

    • values

      public static LicenseClassifier.LicenseMatch[] 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 LicenseClassifier.LicenseMatch 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