Enum Class LicenseStatus

java.lang.Object
java.lang.Enum<LicenseStatus>
com.codebarrel.tenant.api.model.LicenseStatus
All Implemented Interfaces:
Serializable, Comparable<LicenseStatus>, Constable

public enum LicenseStatus extends Enum<LicenseStatus>
  • Enum Constant Details

    • VALID_LICENSE

      public static final LicenseStatus VALID_LICENSE
      All good - we have a valid license!
    • INVALID_EXCEEDED_LITE_LIMIT

      public static final LicenseStatus INVALID_EXCEEDED_LITE_LIMIT
      Exceeded the 300 rules a month lite limit
    • INVALID_NO_DC_LICENSE

      public static final LicenseStatus INVALID_NO_DC_LICENSE
      Running a Data Center instance of Jira without valid DC app license.
    • INVALID_UNKNOWN

      public static final LicenseStatus INVALID_UNKNOWN
      License was invalid for unknown reasons
    • INVALID_NO_LICENSE

      public static final LicenseStatus INVALID_NO_LICENSE
      No valid license could be retrieved.
    • INVALID_EXPIRED

      public static final LicenseStatus INVALID_EXPIRED
      License expired
    • INVALID_TYPE_MISMATCH

      public static final LicenseStatus INVALID_TYPE_MISMATCH
      If the app license type doesn't match the Jira license type (e.g. Commercial vs Academic)
    • INVALID_USER_MISMATCH

      public static final LicenseStatus INVALID_USER_MISMATCH
      If the app license user limit is less than Jira license user limit
    • INVALID_EDITION_MISMATCH

      public static final LicenseStatus INVALID_EDITION_MISMATCH
      Only applies to Bamboo. Should never happen!
    • INVALID_VERSION_MISMATCH

      public static final LicenseStatus 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

      public static final LicenseStatus 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

      public static final LicenseStatus 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

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

      public static LicenseStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • isValid

      public boolean isValid()