public static enum VirtualSystemSettingData.AutomaticRecoveryAction extends Enum<VirtualSystemSettingData.AutomaticRecoveryAction>
Enum Constant and Description |
---|
NONE |
RESTART |
REVERT_TO_SNAPSHOT |
Modifier and Type | Field and Description |
---|---|
protected static Map<Integer,VirtualSystemSettingData.AutomaticRecoveryAction> |
AUTOMATIC_RECOVERY_ACTION_BY_ID |
protected int |
code |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final VirtualSystemSettingData.AutomaticRecoveryAction NONE
public static final VirtualSystemSettingData.AutomaticRecoveryAction RESTART
public static final VirtualSystemSettingData.AutomaticRecoveryAction REVERT_TO_SNAPSHOT
protected final int code
protected static final Map<Integer,VirtualSystemSettingData.AutomaticRecoveryAction> AUTOMATIC_RECOVERY_ACTION_BY_ID
public static VirtualSystemSettingData.AutomaticRecoveryAction[] values()
for (VirtualSystemSettingData.AutomaticRecoveryAction c : VirtualSystemSettingData.AutomaticRecoveryAction.values()) System.out.println(c);
public static VirtualSystemSettingData.AutomaticRecoveryAction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static VirtualSystemSettingData.AutomaticRecoveryAction fromValue(String automaticRecoveryAction)
Copyright © 2009-2012 jclouds. All Rights Reserved.