org.plasma.provisioning.cli
Enum DSLToolAction
java.lang.Object
java.lang.Enum<DSLToolAction>
org.plasma.provisioning.cli.DSLToolAction
- All Implemented Interfaces:
- Serializable, Comparable<DSLToolAction>
public enum DSLToolAction
- extends Enum<DSLToolAction>
|
Enum Constant Summary |
create
Provisions query Domain Specific Language (DSL) classes for the
current configuration. |
|
Method Summary |
static DSLToolAction |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DSLToolAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
create
public static final DSLToolAction create
- Provisions query Domain Specific Language (DSL) classes for the
current configuration.
values
public static DSLToolAction[] 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 (DSLToolAction c : DSLToolAction.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DSLToolAction 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 © 2013. All rights reserved.