public static enum VmStatusListener.Status extends Enum<VmStatusListener.Status>
Enum Constant and Description |
---|
VM_ACTIVE
A delayed version of
VM_STARTED . |
VM_STARTED
A VM has just started now
|
VM_STOPPED
A VM was stopped just now
|
Modifier and Type | Method and Description |
---|---|
static VmStatusListener.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VmStatusListener.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VmStatusListener.Status VM_STARTED
public static final VmStatusListener.Status VM_ACTIVE
VM_STARTED
. A VM was started at some
point in the past. The listener was not informed about it then
(probably because the listener was not registered at the time), but
is being informed about it now.public static final VmStatusListener.Status VM_STOPPED
public static VmStatusListener.Status[] values()
for (VmStatusListener.Status c : VmStatusListener.Status.values()) System.out.println(c);
public static VmStatusListener.Status 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 nullCopyright © 2013. All Rights Reserved.