public static enum NetworkEndPoint.State extends Enum<NetworkEndPoint.State>
| Enum Constant and Description |
|---|
STARTED |
STARTING |
STOPPED |
STOPPING |
| Modifier and Type | Method and Description |
|---|---|
static NetworkEndPoint.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkEndPoint.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkEndPoint.State STARTED
public static final NetworkEndPoint.State STARTING
public static final NetworkEndPoint.State STOPPED
public static final NetworkEndPoint.State STOPPING
public static NetworkEndPoint.State[] values()
for (NetworkEndPoint.State c : NetworkEndPoint.State.values()) System.out.println(c);
public static NetworkEndPoint.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