Enum TaskDtoExecutionState
- java.lang.Object
- 
- java.lang.Enum<TaskDtoExecutionState>
- 
- com.evolveum.midpoint.web.page.admin.server.dto.TaskDtoExecutionState
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<TaskDtoExecutionState>
 
 public enum TaskDtoExecutionState extends Enum<TaskDtoExecutionState> TODO TODO TODO update this doc Original description: Adds "RUNNING" state to the TaskExecutionState (meaning the task is currently executing at a node). And also "SUSPENDING" if it is running, but marked as suspended. New meaning: Probably not needed any more. The RUNNING_OR_RUNNABLE is needed to query for the task state, and should not be here.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description CLOSEDRUNNABLERUNNINGRUNNING_OR_RUNNABLESUSPENDEDSUSPENDINGWAITING
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static TaskDtoExecutionStatefromTaskExecutionState(TaskExecutionStateType executionState, boolean running)static TaskDtoExecutionStatevalueOf(String name)Returns the enum constant of this type with the specified name.static TaskDtoExecutionState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
RUNNING_OR_RUNNABLEpublic static final TaskDtoExecutionState RUNNING_OR_RUNNABLE 
 - 
RUNNINGpublic static final TaskDtoExecutionState RUNNING 
 - 
RUNNABLEpublic static final TaskDtoExecutionState RUNNABLE 
 - 
WAITINGpublic static final TaskDtoExecutionState WAITING 
 - 
SUSPENDEDpublic static final TaskDtoExecutionState SUSPENDED 
 - 
SUSPENDINGpublic static final TaskDtoExecutionState SUSPENDING 
 - 
CLOSEDpublic static final TaskDtoExecutionState CLOSED 
 
- 
 - 
Method Detail- 
valuespublic static TaskDtoExecutionState[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TaskDtoExecutionState c : TaskDtoExecutionState.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static TaskDtoExecutionState valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
fromTaskExecutionStatepublic static TaskDtoExecutionState fromTaskExecutionState(TaskExecutionStateType executionState, boolean running) 
 
- 
 
-