protected static enum Task.TaskHint extends Enum<Task.TaskHint>
TaskProcessor about the task execution.| Enum Constant and Description |
|---|
ACTIVE
Task ran as expected and can be re queued to be preprocessed immediately.
|
IDLE
Task didn't do any productive work, hence can be delayed for the next iteration.
|
| Modifier and Type | Method and Description |
|---|---|
static Task.TaskHint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Task.TaskHint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Task.TaskHint ACTIVE
public static final Task.TaskHint IDLE
public static Task.TaskHint[] values()
for (Task.TaskHint c : Task.TaskHint.values()) System.out.println(c);
public static Task.TaskHint 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 © 2017 WSO2. All rights reserved.