public static enum VirtualPortDescription.State extends java.lang.Enum<VirtualPortDescription.State>
Enum Constant and Description |
---|
PAUSE
Signifies that a virtual port is pause for a moment.
|
START
Signifies that a virtual port is currently start.
|
STOP
Signifies that a virtual port is currently stop.
|
Modifier and Type | Method and Description |
---|---|
static VirtualPortDescription.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VirtualPortDescription.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VirtualPortDescription.State START
public static final VirtualPortDescription.State STOP
public static final VirtualPortDescription.State PAUSE
public static VirtualPortDescription.State[] values()
for (VirtualPortDescription.State c : VirtualPortDescription.State.values()) System.out.println(c);
public static VirtualPortDescription.State 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