Package com.codebarrel.tenant.api.model
Enum Class LicenseStatus
- All Implemented Interfaces:
Serializable,Comparable<LicenseStatus>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOnly applies to Bamboo.Exceeded the 300 rules a month lite limitLicense expiredRunning a Data Center instance of Jira without valid DC app license.No valid license could be retrieved.Not sure if these are used for apps.Not sure if these are used for apps.If the app license type doesn't match the Jira license type (e.g.License was invalid for unknown reasonsIf the app license user limit is less than Jira license user limitA license is invalid if the app's build date is greater than or equal to the license's maintenance expiration date.All good - we have a valid license! -
Method Summary
Modifier and TypeMethodDescriptionbooleanisValid()static LicenseStatusReturns the enum constant of this class with the specified name.static LicenseStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VALID_LICENSE
All good - we have a valid license! -
INVALID_EXCEEDED_LITE_LIMIT
Exceeded the 300 rules a month lite limit -
INVALID_NO_DC_LICENSE
Running a Data Center instance of Jira without valid DC app license. -
INVALID_UNKNOWN
License was invalid for unknown reasons -
INVALID_NO_LICENSE
No valid license could be retrieved. -
INVALID_EXPIRED
License expired -
INVALID_TYPE_MISMATCH
If the app license type doesn't match the Jira license type (e.g. Commercial vs Academic) -
INVALID_USER_MISMATCH
If the app license user limit is less than Jira license user limit -
INVALID_EDITION_MISMATCH
Only applies to Bamboo. Should never happen! -
INVALID_VERSION_MISMATCH
A license is invalid if the app's build date is greater than or equal to the license's maintenance expiration date. -
INVALID_ROLE_EXCEEDED
Not sure if these are used for apps. see https://bitbucket.org/atlassian/atlassian-sal/pull-requests/37/hirol-199-introduction-of-product-concept -
INVALID_ROLE_UNDEFINED
Not sure if these are used for apps. see https://bitbucket.org/atlassian/atlassian-sal/pull-requests/37/hirol-199-introduction-of-product-concept
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
isValid
public boolean isValid()
-