public static enum GraphQLCall.StatusEvent extends java.lang.Enum<GraphQLCall.StatusEvent>
GraphQLCall action| Enum Constant and Description |
|---|
COMPLETED
GraphQLCall is finished its execution |
FETCH_CACHE
GraphQLCall fetches response from cache |
FETCH_NETWORK
GraphQLCall fetches response from network |
SCHEDULED
GraphQLCall is scheduled for execution |
| Modifier and Type | Method and Description |
|---|---|
static GraphQLCall.StatusEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GraphQLCall.StatusEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphQLCall.StatusEvent SCHEDULED
GraphQLCall is scheduled for executionpublic static final GraphQLCall.StatusEvent FETCH_CACHE
GraphQLCall fetches response from cachepublic static final GraphQLCall.StatusEvent FETCH_NETWORK
GraphQLCall fetches response from networkpublic static final GraphQLCall.StatusEvent COMPLETED
GraphQLCall is finished its executionpublic static GraphQLCall.StatusEvent[] values()
for (GraphQLCall.StatusEvent c : GraphQLCall.StatusEvent.values()) System.out.println(c);
public static GraphQLCall.StatusEvent 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