public enum TaskOutcome extends Enum<TaskOutcome>
BuildTask.getOutcome()
Enum Constant and Description |
---|
FAILED
The task attempted to execute, but did not complete successfully.
|
SKIPPED
The task was not executed due to some reason.
|
SUCCESS
That task executed and performed its actions without failure.
|
UP_TO_DATE
The task was not executed, as its output was up to date.
|
Modifier and Type | Method and Description |
---|---|
static TaskOutcome |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskOutcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskOutcome SUCCESS
public static final TaskOutcome FAILED
public static final TaskOutcome UP_TO_DATE
public static final TaskOutcome SKIPPED
public static TaskOutcome[] values()
for (TaskOutcome c : TaskOutcome.values()) System.out.println(c);
public static TaskOutcome 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 null