public static enum DisconnectBehavior.Action extends Enum<DisconnectBehavior.Action>
| Enum Constant and Description |
|---|
RETRY |
RETRY_ABRUPTLY |
STOP |
STOP_ABRUPTLY |
| Modifier and Type | Method and Description |
|---|---|
static DisconnectBehavior.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DisconnectBehavior.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisconnectBehavior.Action RETRY
public static final DisconnectBehavior.Action STOP
public static final DisconnectBehavior.Action RETRY_ABRUPTLY
public static final DisconnectBehavior.Action STOP_ABRUPTLY
public static DisconnectBehavior.Action[] values()
for (DisconnectBehavior.Action c : DisconnectBehavior.Action.values()) System.out.println(c);
public static DisconnectBehavior.Action 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