Package com.atlassian.sal.api.validate
Enum LicenseErrorCode
- All Implemented Interfaces:
Serializable,Comparable<LicenseErrorCode>,java.lang.constant.Constable
All error types of the license verification's result.
- Since:
- 4.2
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe license's hosting type is incompatible with other product.The license's type is not incompatible.The license's version is not incompatible.The license is invalid.Invalid product key value.The license is expired.The license's users/seats are not set or it is equal to zero.The license is not for the selected product. -
Method Summary
Modifier and TypeMethodDescriptionstatic LicenseErrorCodeReturns the enum constant of this type with the specified name.static LicenseErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
-
INVALID_PRODUCT_KEY
Invalid product key value. -
INVALID_LICENSE_KEY
The license is invalid. -
WRONG_PRODUCT
The license is not for the selected product. -
LICENSE_EXPIRED
The license is expired. -
INCOMPATIBLE_HOSTING_TYPE
The license's hosting type is incompatible with other product. e.g. Server, Data Center -
INCOMPATIBLE_LICENSE_TYPE
The license's type is not incompatible. -
INCOMPATIBLE_VERSION
The license's version is not incompatible. -
USER_LIMIT_ISNOT_SET
The license's users/seats are not set or it is equal to zero.
-
-
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
-