com.atlassian.confluence.license.exception
Enum KnownConfluenceLicenseValidationException.Reason

java.lang.Object
  extended by java.lang.Enum<KnownConfluenceLicenseValidationException.Reason>
      extended by com.atlassian.confluence.license.exception.KnownConfluenceLicenseValidationException.Reason
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<KnownConfluenceLicenseValidationException.Reason>
Enclosing class:
KnownConfluenceLicenseValidationException

public static enum KnownConfluenceLicenseValidationException.Reason
extends java.lang.Enum<KnownConfluenceLicenseValidationException.Reason>


Enum Constant Summary
LEGACY_CLUSTER_LICENSE
          This is an old cluster license which will not be installed anymore.
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 Center
LICENCE_NOT_FOR_STANDALONE
          This is standalone edition, but the given license is not for standalone
LICENSE_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
static KnownConfluenceLicenseValidationException.Reason valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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.

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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2003-2014 Atlassian. All Rights Reserved.