public static enum RouterEvent.Type extends Enum<RouterEvent.Type>
| Enum Constant and Description |
|---|
ROUTER_DELETE
Signifies that router has been deleted.
|
ROUTER_PUT
Signifies that router has been created.
|
| Modifier and Type | Method and Description |
|---|---|
static RouterEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouterEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouterEvent.Type ROUTER_PUT
public static final RouterEvent.Type ROUTER_DELETE
public static RouterEvent.Type[] values()
for (RouterEvent.Type c : RouterEvent.Type.values()) System.out.println(c);
public static RouterEvent.Type 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 null