Enum KnownConfluenceLicenseValidationException.Reason
- java.lang.Object
-
- java.lang.Enum<KnownConfluenceLicenseValidationException.Reason>
-
- com.atlassian.confluence.license.exception.KnownConfluenceLicenseValidationException.Reason
-
- All Implemented Interfaces:
Serializable
,Comparable<KnownConfluenceLicenseValidationException.Reason>
- Enclosing class:
- KnownConfluenceLicenseValidationException
public static enum KnownConfluenceLicenseValidationException.Reason extends Enum<KnownConfluenceLicenseValidationException.Reason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LEGACY_CLUSTER_LICENSE
This is an old cluster license which will not be installed anymore.LEGACY_SERVER_LICENSE
The license is not a data center one.LEGACY_VERSION_1
This is a v1 license which will not be installed anymore.LICENCE_NOT_FOR_CDC
This is Confluence Data Center edition, but the given license is not for Confluence Data CenterLICENCE_NOT_FOR_STANDALONE
This is standalone edition, but the given license is not for standaloneLICENSE_EXPIRY_MISSING
The license expiry period is missing.LICENSE_INVALID_NUMBER_OF_USERS
The license does not contain a valid number of users allowed.SUPPORT_EXPIRED
The support period has expired.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getReasonKey()
static KnownConfluenceLicenseValidationException.Reason
valueOf(String name)
Returns the enum constant of this type with the specified name.static KnownConfluenceLicenseValidationException.Reason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUPPORT_EXPIRED
public static final KnownConfluenceLicenseValidationException.Reason SUPPORT_EXPIRED
The support period has expired.
-
LEGACY_VERSION_1
public static final KnownConfluenceLicenseValidationException.Reason LEGACY_VERSION_1
This is a v1 license which will not be installed anymore.
-
LEGACY_CLUSTER_LICENSE
public static final KnownConfluenceLicenseValidationException.Reason LEGACY_CLUSTER_LICENSE
This is an old cluster license which will not be installed anymore.
-
LICENCE_NOT_FOR_CDC
public static final KnownConfluenceLicenseValidationException.Reason LICENCE_NOT_FOR_CDC
This is Confluence Data Center edition, but the given license is not for Confluence Data Center
-
LICENCE_NOT_FOR_STANDALONE
public static final KnownConfluenceLicenseValidationException.Reason LICENCE_NOT_FOR_STANDALONE
This is standalone edition, but the given license is not for standalone
-
LICENSE_EXPIRY_MISSING
public static final KnownConfluenceLicenseValidationException.Reason LICENSE_EXPIRY_MISSING
The license expiry period is missing.
-
LICENSE_INVALID_NUMBER_OF_USERS
public static final KnownConfluenceLicenseValidationException.Reason LICENSE_INVALID_NUMBER_OF_USERS
The license does not contain a valid number of users allowed.
-
LEGACY_SERVER_LICENSE
public static final KnownConfluenceLicenseValidationException.Reason LEGACY_SERVER_LICENSE
The license is not a data center one.
-
-
Method Detail
-
values
public static KnownConfluenceLicenseValidationException.Reason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KnownConfluenceLicenseValidationException.Reason c : KnownConfluenceLicenseValidationException.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KnownConfluenceLicenseValidationException.Reason 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 nameNullPointerException
- if the argument is null
-
getReasonKey
public String getReasonKey()
-
-