Enum Constant and Description |
---|
HIBERNATED
Hibernated.
|
RUNNING
Running.
|
STOPPED
Stopped.
|
Modifier and Type | Method and Description |
---|---|
static PoolState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PoolState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PoolState HIBERNATED
To use this state, prerequisites must be in place.
public static final PoolState RUNNING
public static final PoolState STOPPED
public static PoolState[] values()
for (PoolState c : PoolState.values()) System.out.println(c);
public static PoolState 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