public enum AutoStartAction extends Enum<AutoStartAction>
Java class for AutoStartAction.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AutoStartAction">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="none"/>
<enumeration value="systemDefault"/>
<enumeration value="powerOn"/>
<enumeration value="powerOff"/>
<enumeration value="guestShutdown"/>
<enumeration value="suspend"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
GUEST_SHUTDOWN |
NONE |
POWER_OFF |
POWER_ON |
SUSPEND |
SYSTEM_DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
static AutoStartAction |
fromValue(String v) |
String |
value() |
static AutoStartAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutoStartAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoStartAction NONE
public static final AutoStartAction SYSTEM_DEFAULT
public static final AutoStartAction POWER_ON
public static final AutoStartAction POWER_OFF
public static final AutoStartAction GUEST_SHUTDOWN
public static final AutoStartAction SUSPEND
public static AutoStartAction[] values()
for (AutoStartAction c : AutoStartAction.values()) System.out.println(c);
public static AutoStartAction 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 AutoStartAction fromValue(String v)
Copyright © 2018. All rights reserved.