public static enum TaskRunResult.TaskRunResultStatus extends Enum<TaskRunResult.TaskRunResultStatus>
Enum Constant and Description |
---|
FINISHED
The task run has finished.
|
FINISHED_HANDLER
The task run has finished, and this was the last run of the current handler.
|
INTERRUPTED
Task run hasn't finished but nevertheless it must end (for now).
|
PERMANENT_ERROR
The run has failed.
|
RESTART_REQUESTED
Task has to be restarted, typically because a new handler was put onto the handler stack during
the task run.
|
TEMPORARY_ERROR
Temporary failure during the run.
|
Modifier and Type | Method and Description |
---|---|
static TaskRunResult.TaskRunResultStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskRunResult.TaskRunResultStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskRunResult.TaskRunResultStatus FINISHED
public static final TaskRunResult.TaskRunResultStatus FINISHED_HANDLER
public static final TaskRunResult.TaskRunResultStatus PERMANENT_ERROR
public static final TaskRunResult.TaskRunResultStatus TEMPORARY_ERROR
public static final TaskRunResult.TaskRunResultStatus INTERRUPTED
public static final TaskRunResult.TaskRunResultStatus RESTART_REQUESTED
public static TaskRunResult.TaskRunResultStatus[] values()
for (TaskRunResult.TaskRunResultStatus c : TaskRunResult.TaskRunResultStatus.values()) System.out.println(c);
public static TaskRunResult.TaskRunResultStatus 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 © 2016 evolveum. All rights reserved.