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:
Serializable, Comparable<KnownConfluenceLicenseValidationException.Reason>
Enclosing class:
KnownConfluenceLicenseValidationException

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


Enum Constant Summary
CLUSTER_NOT_SUPPORTED
          This is a cluster environment, but the given license does not support a cluster installation.
CLUSTER_REQUIRED
          The license is for a cluster environment, but this is not a cluster installation.
LEGACY_VERSION_1
          This is a v1 license which will not be installed anymore.
SUPPORT_EXPIRED
          The support period has expired.
 
Method Summary
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.
 
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

CLUSTER_REQUIRED

public static final KnownConfluenceLicenseValidationException.Reason CLUSTER_REQUIRED
The license is for a cluster environment, but this is not a cluster installation.


CLUSTER_NOT_SUPPORTED

public static final KnownConfluenceLicenseValidationException.Reason CLUSTER_NOT_SUPPORTED
This is a cluster environment, but the given license does not support a cluster installation.


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.

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 name
NullPointerException - if the argument is null


Copyright © 2003-2013 Atlassian. All Rights Reserved.