public static enum VirtualSystemSettingData.AutomaticShutdownAction extends Enum<VirtualSystemSettingData.AutomaticShutdownAction>
Enum Constant and Description |
---|
SAVE_STATE |
SHUTDOWN |
TURN_OFF |
Modifier and Type | Field and Description |
---|---|
protected static Map<Integer,VirtualSystemSettingData.AutomaticShutdownAction> |
AUTOMATIC_SHUTDOWN_ACTION_BY_ID |
protected int |
code |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final VirtualSystemSettingData.AutomaticShutdownAction TURN_OFF
public static final VirtualSystemSettingData.AutomaticShutdownAction SAVE_STATE
public static final VirtualSystemSettingData.AutomaticShutdownAction SHUTDOWN
protected final int code
protected static final Map<Integer,VirtualSystemSettingData.AutomaticShutdownAction> AUTOMATIC_SHUTDOWN_ACTION_BY_ID
public static VirtualSystemSettingData.AutomaticShutdownAction[] values()
for (VirtualSystemSettingData.AutomaticShutdownAction c : VirtualSystemSettingData.AutomaticShutdownAction.values()) System.out.println(c);
public static VirtualSystemSettingData.AutomaticShutdownAction 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.AutomaticShutdownAction fromValue(String automaticShutdownAction)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.