public enum GuestShutdownFlag extends java.lang.Enum<GuestShutdownFlag>
{28D19C9C-5862-4930-B29A-F117712B4864}
Enum Constant and Description |
---|
Force
Force the system to shutdown/reboot regardless of objecting
application or other stuff.
|
None
No flag set.
|
PowerOff
Performs a reboot after shutdown.
|
Reboot
Performs a reboot after shutdown.
|
Modifier and Type | Method and Description |
---|---|
static GuestShutdownFlag |
fromValue(long v) |
static GuestShutdownFlag |
fromValue(java.lang.String v) |
int |
value() |
static GuestShutdownFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GuestShutdownFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GuestShutdownFlag None
public static final GuestShutdownFlag PowerOff
public static final GuestShutdownFlag Reboot
public static final GuestShutdownFlag Force
public static GuestShutdownFlag[] values()
for (GuestShutdownFlag c : GuestShutdownFlag.values()) System.out.println(c);
public static GuestShutdownFlag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static GuestShutdownFlag fromValue(long v)
public static GuestShutdownFlag fromValue(java.lang.String v)