public enum RunState extends Enum<RunState>
TaskResult.getState()
Enum Constant and Description |
---|
ABORTED
Task execution aborted.
|
ERROR
Task execution finished with errors, e.g. caused by:
Task execution exited with an
Exception . |
FINISHED_WITH_ERRORS
Task execution finished with errors, e.g. to signal that errors were logged during execution of a
GenerateTask (and error and
warning threshold were not exceeded). |
NOT_STARTED
Task has not been started.
|
RUNNING
Task running.
|
SUCCESS
Task execution finished successfully.
|
Modifier and Type | Method and Description |
---|---|
static RunState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunState NOT_STARTED
public static final RunState RUNNING
public static final RunState ABORTED
public static final RunState ERROR
Exception
.GenerateTask.setErrorThreshold(long)
).GenerateTask.setWarningThreshold(long)
).GenerateTask
.public static final RunState SUCCESS
public static final RunState FINISHED_WITH_ERRORS
GenerateTask
(and error
and
warning threshold
were not exceeded).public static RunState[] values()
for (RunState c : RunState.values()) System.out.println(c);
public static RunState 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 e-Spirit AG. All Rights Reserved. Build 5.1.408