public static enum Interface.State extends Enum<Interface.State>
Enum Constant and Description |
---|
BLOCKED |
DOWN |
PROVISIONING |
UNKNOWN |
UP |
Modifier and Type | Method and Description |
---|---|
static Interface.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Interface.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Interface.State UP
public static final Interface.State DOWN
public static final Interface.State BLOCKED
public static final Interface.State PROVISIONING
public static final Interface.State UNKNOWN
public static Interface.State[] values()
for (Interface.State c : Interface.State.values()) System.out.println(c);
public static Interface.State 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 © 2015. All Rights Reserved.