public static enum ManagedConnection.ConnectionState extends Enum<ManagedConnection.ConnectionState>
| Enum Constant and Description |
|---|
AUTENTICATED |
AUTENTICATING |
CONNECTED |
CONNECTING |
DISCONNECTED |
DISCONNECTING |
ERROR |
REAUTENTICATING |
| Modifier and Type | Method and Description |
|---|---|
static ManagedConnection.ConnectionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ManagedConnection.ConnectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManagedConnection.ConnectionState DISCONNECTING
public static final ManagedConnection.ConnectionState DISCONNECTED
public static final ManagedConnection.ConnectionState CONNECTING
public static final ManagedConnection.ConnectionState CONNECTED
public static final ManagedConnection.ConnectionState AUTENTICATING
public static final ManagedConnection.ConnectionState AUTENTICATED
public static final ManagedConnection.ConnectionState REAUTENTICATING
public static final ManagedConnection.ConnectionState ERROR
public static ManagedConnection.ConnectionState[] values()
for (ManagedConnection.ConnectionState c : ManagedConnection.ConnectionState.values()) System.out.println(c);
public static ManagedConnection.ConnectionState 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 © 2014 Tecgraf/PUC-Rio. All Rights Reserved.