com.atlassian.confluence.it.admin
Enum StandardLicense

java.lang.Object
  extended by java.lang.Enum<StandardLicense>
      extended by com.atlassian.confluence.it.admin.StandardLicense
All Implemented Interfaces:
License, Serializable, Comparable<StandardLicense>

public enum StandardLicense
extends Enum<StandardLicense>
implements License

License constants.


Enum Constant Summary
CONF_1USER
           
CONF_ACADEMIC
           
CONF_CLUSTER
           
CONF_COMM
           
CONF_COMMUNITY
           
CONF_DEMONSTRATION
           
CONF_DEVELOPER
           
CONF_EVAL
           
CONF_EVAL_EXPIRED
           
CONF_OPENSOURCE
           
CONF_SEN_MISSING
           
CONF_STARTER_V2
           
CONF_STARTER_V2_EXPIRED
           
CONF_V1_LICENSE
           
CONF_V2_LICENSE
           
CROWD_COMM
           
 
Method Summary
 String getKey()
          Get the key of the License.
 SenInformation getSenInformation()
          Information about the Support Entitlement Number (SEN) of the test license
static StandardLicense valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StandardLicense[] 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

CONF_ACADEMIC

public static final StandardLicense CONF_ACADEMIC

CONF_EVAL

public static final StandardLicense CONF_EVAL

CONF_COMM

public static final StandardLicense CONF_COMM

CONF_COMMUNITY

public static final StandardLicense CONF_COMMUNITY

CONF_OPENSOURCE

public static final StandardLicense CONF_OPENSOURCE

CONF_DEVELOPER

public static final StandardLicense CONF_DEVELOPER

CONF_DEMONSTRATION

public static final StandardLicense CONF_DEMONSTRATION

CONF_STARTER_V2

public static final StandardLicense CONF_STARTER_V2

CONF_STARTER_V2_EXPIRED

public static final StandardLicense CONF_STARTER_V2_EXPIRED

CONF_CLUSTER

public static final StandardLicense CONF_CLUSTER

CONF_EVAL_EXPIRED

public static final StandardLicense CONF_EVAL_EXPIRED

CONF_SEN_MISSING

public static final StandardLicense CONF_SEN_MISSING

CONF_V1_LICENSE

public static final StandardLicense CONF_V1_LICENSE

CONF_V2_LICENSE

public static final StandardLicense CONF_V2_LICENSE

CONF_1USER

public static final StandardLicense CONF_1USER

CROWD_COMM

public static final StandardLicense CROWD_COMM
Method Detail

values

public static StandardLicense[] 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 (StandardLicense c : StandardLicense.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static StandardLicense 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

getKey

public String getKey()
Get the key of the License.

Specified by:
getKey in interface License

getSenInformation

public SenInformation getSenInformation()
Description copied from interface: License
Information about the Support Entitlement Number (SEN) of the test license

Specified by:
getSenInformation in interface License


Copyright © 2003-2013 Atlassian. All Rights Reserved.