public enum AsyncTaskState extends Enum<AsyncTaskState>
Enum Constant and Description |
---|
AttemptingEndAction |
Cleared |
ClearFailed |
Ended |
Initializing |
Polling |
WaitForPoll |
Modifier and Type | Method and Description |
---|---|
static AsyncTaskState |
forValue(int value) |
int |
getValue() |
static AsyncTaskState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsyncTaskState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsyncTaskState Initializing
public static final AsyncTaskState WaitForPoll
public static final AsyncTaskState Polling
public static final AsyncTaskState Ended
public static final AsyncTaskState AttemptingEndAction
public static final AsyncTaskState ClearFailed
public static final AsyncTaskState Cleared
public static AsyncTaskState[] values()
for (AsyncTaskState c : AsyncTaskState.values()) System.out.println(c);
public static AsyncTaskState 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 int getValue()
public static AsyncTaskState forValue(int value)
Copyright © 2012. All Rights Reserved.