Package com.xebialabs.license
Enum LicenseProperty
- java.lang.Object
-
- java.lang.Enum<LicenseProperty>
-
- com.xebialabs.license.LicenseProperty
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LicenseProperty>
public enum LicenseProperty extends java.lang.Enum<LicenseProperty>
Property names used in license file
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AWS_NONCEAWS_PRODUCT_CODECONTACTEDITIONEXPIRES_AFTERLICENSE_VERSIONLICENSED_PLUGINSLICENSED_TOMAX_NUMBER_OF_CISMAX_NUMBER_OF_USERSPRODUCTREPOSITORY_IDSUPPORT_POLICY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LicensePropertyget(java.lang.String name)static intgetLongerNameLength()java.lang.StringgetName()LicensePropertyTypegetType()static LicensePropertyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LicenseProperty[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LICENSE_VERSION
public static final LicenseProperty LICENSE_VERSION
-
LICENSED_TO
public static final LicenseProperty LICENSED_TO
-
CONTACT
public static final LicenseProperty CONTACT
-
PRODUCT
public static final LicenseProperty PRODUCT
-
EXPIRES_AFTER
public static final LicenseProperty EXPIRES_AFTER
-
REPOSITORY_ID
public static final LicenseProperty REPOSITORY_ID
-
MAX_NUMBER_OF_USERS
public static final LicenseProperty MAX_NUMBER_OF_USERS
-
MAX_NUMBER_OF_CIS
public static final LicenseProperty MAX_NUMBER_OF_CIS
-
LICENSED_PLUGINS
public static final LicenseProperty LICENSED_PLUGINS
-
SUPPORT_POLICY
public static final LicenseProperty SUPPORT_POLICY
-
EDITION
public static final LicenseProperty EDITION
-
AWS_NONCE
public static final LicenseProperty AWS_NONCE
-
AWS_PRODUCT_CODE
public static final LicenseProperty AWS_PRODUCT_CODE
-
-
Method Detail
-
values
public static LicenseProperty[] 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 (LicenseProperty c : LicenseProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LicenseProperty 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 namejava.lang.NullPointerException- if the argument is null
-
get
public static LicenseProperty get(java.lang.String name)
-
getLongerNameLength
public static int getLongerNameLength()
-
getName
public java.lang.String getName()
-
getType
public LicensePropertyType getType()
-
-