public enum TaskResultState extends Enum<TaskResultState>
| Enum Constant and Description |
|---|
failed |
interrupted |
ok |
| Modifier and Type | Method and Description |
|---|---|
static TaskResultState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskResultState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskResultState ok
public static final TaskResultState interrupted
public static final TaskResultState failed
public static TaskResultState[] values()
for (TaskResultState c : TaskResultState.values()) System.out.println(c);
public static TaskResultState 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 nullCopyright © 2015. All rights reserved.