org.glassfish.virtualization.config
Enum Action.Timing
java.lang.Object
java.lang.Enum<Action.Timing>
org.glassfish.virtualization.config.Action.Timing
- All Implemented Interfaces:
- Serializable, Comparable<Action.Timing>
- Enclosing interface:
- Action
public static enum Action.Timing
- extends Enum<Action.Timing>
|
Method Summary |
static Action.Timing |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Action.Timing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
CLUSTER_CREATION
public static final Action.Timing CLUSTER_CREATION
INSTANCE_CREATION
public static final Action.Timing INSTANCE_CREATION
INSTANCE_STARTUP
public static final Action.Timing INSTANCE_STARTUP
INSTANCE_SHUTDOWN
public static final Action.Timing INSTANCE_SHUTDOWN
INSTANCE_DELETION
public static final Action.Timing INSTANCE_DELETION
CLUSTER_DELETION
public static final Action.Timing CLUSTER_DELETION
values
public static Action.Timing[] 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 (Action.Timing c : Action.Timing.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Action.Timing 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 © 2012. All Rights Reserved.