org.glassfish.virtualization.config
Enum Action.Timing

java.lang.Object
  extended by java.lang.Enum<Action.Timing>
      extended by 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>


Enum Constant Summary
CLUSTER_CREATION
           
CLUSTER_DELETION
           
INSTANCE_CREATION
           
INSTANCE_DELETION
           
INSTANCE_SHUTDOWN
           
INSTANCE_STARTUP
           
 
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.
 
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

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
Method Detail

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.