|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Reason>
org.virtualbox_7_0.Reason
public enum Reason
Internal event reason type. Interface ID: {E7E8E097-299D-4E98-8BBC-C31C2D47D0CC}
Enum Constant Summary | |
---|---|
HostBatteryLow
Host is running low on battery (power management event). |
|
HostResume
Host is being resumed (power management event). |
|
HostSuspend
Host is being suspended (power management event). |
|
Snapshot
A snapshot of the VM is being taken. |
|
Unspecified
Null value, means "no known reason". |
Method Summary | |
---|---|
static Reason |
fromValue(long v)
|
static Reason |
fromValue(java.lang.String v)
|
int |
value()
|
static Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Reason[] |
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 |
---|
public static final Reason Unspecified
public static final Reason HostSuspend
public static final Reason HostResume
public static final Reason HostBatteryLow
public static final Reason Snapshot
Method Detail |
---|
public static Reason[] values()
for (Reason c : Reason.values()) System.out.println(c);
public static Reason 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 name
java.lang.NullPointerException
- if the argument is nullpublic int value()
public static Reason fromValue(long v)
public static Reason fromValue(java.lang.String v)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |