Package biz.onixs.cme.stp.handler
Enum License.Type
- java.lang.Object
-
- java.lang.Enum<License.Type>
-
- biz.onixs.cme.stp.handler.License.Type
-
- All Implemented Interfaces:
Serializable,Comparable<License.Type>
- Enclosing class:
- License
public static enum License.Type extends Enum<License.Type>
License type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEVELOPMENTEVALUATIONPRODUCTIONTRIAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Returns license type name.static License.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static License.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRIAL
public static final License.Type TRIAL
-
PRODUCTION
public static final License.Type PRODUCTION
-
DEVELOPMENT
public static final License.Type DEVELOPMENT
-
EVALUATION
public static final License.Type EVALUATION
-
-
Method Detail
-
values
public static License.Type[] 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 (License.Type c : License.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static License.Type 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
-
getName
public String getName()
Returns license type name.- Returns:
- license type name
-
-