Enum LicenseErrorCode

java.lang.Object
java.lang.Enum<LicenseErrorCode>
com.atlassian.sal.api.validate.LicenseErrorCode
All Implemented Interfaces:
Serializable, Comparable<LicenseErrorCode>, java.lang.constant.Constable

public enum LicenseErrorCode extends Enum<LicenseErrorCode>
All error types of the license verification's result.
Since:
4.2
  • Enum Constant Details

    • UNKNOWN

      public static final LicenseErrorCode UNKNOWN
    • INVALID_PRODUCT_KEY

      public static final LicenseErrorCode INVALID_PRODUCT_KEY
      Invalid product key value.
    • INVALID_LICENSE_KEY

      public static final LicenseErrorCode INVALID_LICENSE_KEY
      The license is invalid.
    • WRONG_PRODUCT

      public static final LicenseErrorCode WRONG_PRODUCT
      The license is not for the selected product.
    • LICENSE_EXPIRED

      public static final LicenseErrorCode LICENSE_EXPIRED
      The license is expired.
    • INCOMPATIBLE_HOSTING_TYPE

      public static final LicenseErrorCode INCOMPATIBLE_HOSTING_TYPE
      The license's hosting type is incompatible with other product. e.g. Server, Data Center
    • INCOMPATIBLE_LICENSE_TYPE

      public static final LicenseErrorCode INCOMPATIBLE_LICENSE_TYPE
      The license's type is not incompatible.
    • INCOMPATIBLE_VERSION

      public static final LicenseErrorCode INCOMPATIBLE_VERSION
      The license's version is not incompatible.
    • USER_LIMIT_ISNOT_SET

      public static final LicenseErrorCode USER_LIMIT_ISNOT_SET
      The license's users/seats are not set or it is equal to zero.
  • Method Details

    • values

      public static LicenseErrorCode[] 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 LicenseErrorCode 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