private static enum PgConnection.ReadOnlyBehavior extends java.lang.Enum<PgConnection.ReadOnlyBehavior>
Enum Constant and Description |
---|
always |
ignore |
transaction |
Modifier and Type | Method and Description |
---|---|
static PgConnection.ReadOnlyBehavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PgConnection.ReadOnlyBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PgConnection.ReadOnlyBehavior ignore
public static final PgConnection.ReadOnlyBehavior transaction
public static final PgConnection.ReadOnlyBehavior always
public static PgConnection.ReadOnlyBehavior[] values()
for (PgConnection.ReadOnlyBehavior c : PgConnection.ReadOnlyBehavior.values()) System.out.println(c);
public static PgConnection.ReadOnlyBehavior 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