public enum TaskRunnerResults extends java.lang.Enum<TaskRunnerResults> implements ProjectTaskRunner.Result
Modifier and Type | Method and Description |
---|---|
boolean |
hasErrors() |
boolean |
isAborted() |
static TaskRunnerResults |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TaskRunnerResults[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskRunnerResults SUCCESS
public static final TaskRunnerResults FAILURE
public static final TaskRunnerResults ABORTED
public static TaskRunnerResults[] values()
for (TaskRunnerResults c : TaskRunnerResults.values()) System.out.println(c);
public static TaskRunnerResults valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isAborted()
isAborted
in interface ProjectTaskRunner.Result
public boolean hasErrors()
hasErrors
in interface ProjectTaskRunner.Result