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