public static enum HostMonitor.Action extends Enum<HostMonitor.Action>
Enum Constant and Description |
---|
VM_ADDED |
VM_REMOVED |
Modifier and Type | Method and Description |
---|---|
static HostMonitor.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostMonitor.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostMonitor.Action VM_ADDED
public static final HostMonitor.Action VM_REMOVED
public static HostMonitor.Action[] values()
for (HostMonitor.Action c : HostMonitor.Action.values()) System.out.println(c);
public static HostMonitor.Action 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 © 2014. All rights reserved.