public static enum HostEvent.Type extends java.lang.Enum<HostEvent.Type>
Enum Constant and Description |
---|
HOST_ADDED
Signifies that a new host has been detected.
|
HOST_MOVED
Signifies that a host location has changed.
|
HOST_REMOVED
Signifies that a host has been removed.
|
HOST_UPDATED
Signifies that host data changed, e.g.
|
Modifier and Type | Method and Description |
---|---|
static HostEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HostEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostEvent.Type HOST_ADDED
public static final HostEvent.Type HOST_REMOVED
public static final HostEvent.Type HOST_UPDATED
public static final HostEvent.Type HOST_MOVED
public static HostEvent.Type[] values()
for (HostEvent.Type c : HostEvent.Type.values()) System.out.println(c);
public static HostEvent.Type 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 null