public static enum ExecutableTask.Result extends Enum<ExecutableTask.Result>
Enum Constant and Description |
---|
FINISHED
This should be returned when a task is finished.
|
WAITING_FOR_INPUT
This should be returned when a task is waiting for an input.
|
Modifier and Type | Method and Description |
---|---|
static ExecutableTask.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutableTask.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutableTask.Result FINISHED
public static final ExecutableTask.Result WAITING_FOR_INPUT
public static ExecutableTask.Result[] values()
for (ExecutableTask.Result c : ExecutableTask.Result.values()) System.out.println(c);
public static ExecutableTask.Result 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 © 2007-2020 Whitestein Technologies. All Rights Reserved.