public static enum Router.Status extends Enum<Router.Status>
| Enum Constant and Description |
|---|
ACTIVE
Signifies that a router is currently active.
|
INACTIVE
Signifies that a router is currently inactive.
|
| Modifier and Type | Method and Description |
|---|---|
static Router.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Router.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Router.Status ACTIVE
public static final Router.Status INACTIVE
public static Router.Status[] values()
for (Router.Status c : Router.Status.values()) System.out.println(c);
public static Router.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 null