public static enum GatewayStateChange.State extends Enum<GatewayStateChange.State>
Enum Constant and Description |
---|
CONNECTED |
DISCONNECTED |
RETRY_FAILED |
RETRY_STARTED |
RETRY_SUCCEEDED |
Modifier and Type | Method and Description |
---|---|
static GatewayStateChange.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GatewayStateChange.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GatewayStateChange.State CONNECTED
public static final GatewayStateChange.State DISCONNECTED
public static final GatewayStateChange.State RETRY_STARTED
public static final GatewayStateChange.State RETRY_SUCCEEDED
public static final GatewayStateChange.State RETRY_FAILED
public static GatewayStateChange.State[] values()
for (GatewayStateChange.State c : GatewayStateChange.State.values()) System.out.println(c);
public static GatewayStateChange.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 null