public enum AsyncFetchTaskState extends Enum<AsyncFetchTaskState>
Enum Constant and Description |
---|
Failed
Task is failed.
|
FetchSuccessCallbackFailed
Fetch object succeed but callback failed.
|
Retry
Task is retrying.
|
Running
Task is running.
|
Success
Task is succeed.
|
Modifier and Type | Method and Description |
---|---|
static AsyncFetchTaskState |
parse(String stateString) |
String |
toString() |
static AsyncFetchTaskState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsyncFetchTaskState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsyncFetchTaskState Running
public static final AsyncFetchTaskState Retry
public static final AsyncFetchTaskState FetchSuccessCallbackFailed
public static final AsyncFetchTaskState Failed
public static final AsyncFetchTaskState Success
public static AsyncFetchTaskState[] values()
for (AsyncFetchTaskState c : AsyncFetchTaskState.values()) System.out.println(c);
public static AsyncFetchTaskState 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 nullpublic String toString()
toString
in class Enum<AsyncFetchTaskState>
public static AsyncFetchTaskState parse(String stateString)
Copyright © 2023. All Rights Reserved.