org.jclouds.cim
Enum VirtualSystemSettingData.AutomaticRecoveryAction

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

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

Action to take for the virtual system when the software executed by the virtual system fails. Failures in this case means a failure that is detectable by the host platform, such as a non-interuptable wait state condition.


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

RESTART

public static final VirtualSystemSettingData.AutomaticRecoveryAction RESTART

REVERT_TO_SNAPSHOT

public static final VirtualSystemSettingData.AutomaticRecoveryAction REVERT_TO_SNAPSHOT
Field Detail

code

protected final int code

AUTOMATIC_RECOVERY_ACTION_BY_ID

protected static final Map<Integer,VirtualSystemSettingData.AutomaticRecoveryAction> AUTOMATIC_RECOVERY_ACTION_BY_ID
Method Detail

values

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


Copyright © 2009-2011 jclouds. All Rights Reserved.