public enum SubscriptionManagerState extends java.lang.Enum<SubscriptionManagerState>
Enum Constant and Description |
---|
ACTIVE
Indicates there is active connection with the subscription server and GraphQL session has been initialized.
|
CONNECTED
Indicates there is active connection with the subscription server, waiting for GraphQL session to be initialized.
|
CONNECTING
Indicates manager is trying to connect to the subscription server.
|
DISCONNECTED
Indicates there is no active connection to the subscription server.
|
STOPPED
Indicates user stopped GraphQL session and disconnected from the subscription server.
|
STOPPING
Indicates user initiates manager to stop GraphQL session and disconnect from the subscription server.
|
Modifier and Type | Method and Description |
---|---|
static SubscriptionManagerState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionManagerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionManagerState DISCONNECTED
public static final SubscriptionManagerState CONNECTING
public static final SubscriptionManagerState CONNECTED
public static final SubscriptionManagerState ACTIVE
public static final SubscriptionManagerState STOPPING
public static final SubscriptionManagerState STOPPED
public static SubscriptionManagerState[] values()
for (SubscriptionManagerState c : SubscriptionManagerState.values()) System.out.println(c);
public static SubscriptionManagerState 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