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