public static enum ConnectionHandler.State extends Enum<ConnectionHandler.State>
Enum Constant and Description |
---|
CHECKED_IN |
CHECKED_OUT |
DESTROYED |
FLUSH |
NEW |
VALIDATION |
Modifier and Type | Method and Description |
---|---|
static ConnectionHandler.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionHandler.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionHandler.State NEW
public static final ConnectionHandler.State CHECKED_IN
public static final ConnectionHandler.State CHECKED_OUT
public static final ConnectionHandler.State VALIDATION
public static final ConnectionHandler.State FLUSH
public static final ConnectionHandler.State DESTROYED
public static ConnectionHandler.State[] values()
for (ConnectionHandler.State c : ConnectionHandler.State.values()) System.out.println(c);
public static ConnectionHandler.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 nullCopyright © 2021 JBoss by Red Hat. All rights reserved.