public static enum Connection.OperationType extends Enum<Connection.OperationType>
Enum Constant and Description |
---|
READ
Denotes managed reads.
|
WRITE
Denotes managed writes.
|
Modifier and Type | Method and Description |
---|---|
static Connection.OperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Connection.OperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Connection.OperationType READ
public static final Connection.OperationType WRITE
public static Connection.OperationType[] values()
for (Connection.OperationType c : Connection.OperationType.values()) System.out.println(c);
public static Connection.OperationType 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