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