public static enum RenderSectionEvent.FetchState extends java.lang.Enum<RenderSectionEvent.FetchState>
Enum Constant and Description |
---|
DOWNLOAD_ERROR
Data fetching has failed to complete and there is an error.
|
DOWNLOADING_STATE
Data fetching on GraphQLConnectionService has started.
|
IDLE_STATE
Data fetching has completed and the result is returned from GraphQLConnectionService.
|
INITIAL_STATE
GraphQLConnectionService is performing an initial fetch.
|
Modifier and Type | Method and Description |
---|---|
static RenderSectionEvent.FetchState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RenderSectionEvent.FetchState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderSectionEvent.FetchState INITIAL_STATE
public static final RenderSectionEvent.FetchState DOWNLOADING_STATE
public static final RenderSectionEvent.FetchState IDLE_STATE
There could be an error with the latest fetch but has cached data available, so the state will not be DOWNLOAD_ERROR.
public static final RenderSectionEvent.FetchState DOWNLOAD_ERROR
Data is always empty at this state.
public static RenderSectionEvent.FetchState[] values()
for (RenderSectionEvent.FetchState c : RenderSectionEvent.FetchState.values()) System.out.println(c);
public static RenderSectionEvent.FetchState 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