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