org.jclouds.cim
Enum VirtualSystemSettingData.AutomaticStartupAction

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

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

Action to take for the virtual system when the host is started.


Enum Constant Summary
ALWAYS_STARTUP
           
NONE
           
RESTART_IF_PREVIOUSLY_ACTIVE
           
 
Field Summary
protected static Map<Integer,VirtualSystemSettingData.AutomaticStartupAction> AUTOMATIC_STARTUP_ACTION_BY_ID
           
protected  int code
           
 
Method Summary
static VirtualSystemSettingData.AutomaticStartupAction fromValue(String automaticStartupAction)
           
 String value()
           
static VirtualSystemSettingData.AutomaticStartupAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VirtualSystemSettingData.AutomaticStartupAction[] 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

NONE

public static final VirtualSystemSettingData.AutomaticStartupAction NONE

RESTART_IF_PREVIOUSLY_ACTIVE

public static final VirtualSystemSettingData.AutomaticStartupAction RESTART_IF_PREVIOUSLY_ACTIVE

ALWAYS_STARTUP

public static final VirtualSystemSettingData.AutomaticStartupAction ALWAYS_STARTUP
Field Detail

code

protected final int code

AUTOMATIC_STARTUP_ACTION_BY_ID

protected static final Map<Integer,VirtualSystemSettingData.AutomaticStartupAction> AUTOMATIC_STARTUP_ACTION_BY_ID
Method Detail

values

public static VirtualSystemSettingData.AutomaticStartupAction[] 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.AutomaticStartupAction c : VirtualSystemSettingData.AutomaticStartupAction.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.AutomaticStartupAction 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.AutomaticStartupAction fromValue(String automaticStartupAction)


Copyright © 2009-2012 jclouds. All Rights Reserved.