org.jclouds.cim
Enum VirtualSystemSettingData.AutomaticShutdownAction

java.lang.Object
  extended by java.lang.Enum<VirtualSystemSettingData.AutomaticShutdownAction>
      extended by org.jclouds.cim.VirtualSystemSettingData.AutomaticShutdownAction
All Implemented Interfaces:
Serializable, Comparable<VirtualSystemSettingData.AutomaticShutdownAction>
Enclosing class:
VirtualSystemSettingData

public static enum VirtualSystemSettingData.AutomaticShutdownAction
extends Enum<VirtualSystemSettingData.AutomaticShutdownAction>

Action to take for the virtual system when the host is shut down.


Enum Constant Summary
SAVE_STATE
           
SHUTDOWN
           
TURN_OFF
           
 
Field Summary
protected static Map<Integer,VirtualSystemSettingData.AutomaticShutdownAction> AUTOMATIC_SHUTDOWN_ACTION_BY_ID
           
protected  int code
           
 
Method Summary
static VirtualSystemSettingData.AutomaticShutdownAction fromValue(String automaticShutdownAction)
           
 String value()
           
static VirtualSystemSettingData.AutomaticShutdownAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VirtualSystemSettingData.AutomaticShutdownAction[] 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

TURN_OFF

public static final VirtualSystemSettingData.AutomaticShutdownAction TURN_OFF

SAVE_STATE

public static final VirtualSystemSettingData.AutomaticShutdownAction SAVE_STATE

SHUTDOWN

public static final VirtualSystemSettingData.AutomaticShutdownAction SHUTDOWN
Field Detail

code

protected final int code

AUTOMATIC_SHUTDOWN_ACTION_BY_ID

protected static final Map<Integer,VirtualSystemSettingData.AutomaticShutdownAction> AUTOMATIC_SHUTDOWN_ACTION_BY_ID
Method Detail

values

public static VirtualSystemSettingData.AutomaticShutdownAction[] 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 (VirtualSystemSettingData.AutomaticShutdownAction c : VirtualSystemSettingData.AutomaticShutdownAction.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static VirtualSystemSettingData.AutomaticShutdownAction 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

value

public String value()

fromValue

public static VirtualSystemSettingData.AutomaticShutdownAction fromValue(String automaticShutdownAction)


Copyright © 2009-2011 jclouds. All Rights Reserved.