Package | Description |
---|---|
com.streamscape.sef.scheduler |
Modifier and Type | Field and Description |
---|---|
static TaskState |
TaskState.COMPLETED
Task has completed (it received the completion event).
|
static TaskState |
TaskState.CONDITIONAL
Task execution was skipped because the execution parameters (metaset) did not match the task condition.
|
static TaskState |
TaskState.EXECUTION_COMPLETED
Task execution has completed.
|
static TaskState |
TaskState.EXECUTION_EXCEPTION
Task execution was interrupted due to a failure.
|
static TaskState |
TaskState.EXECUTION_EXPIRED
Task execution has expired (i.e.
|
static TaskState |
TaskState.EXECUTION_INTERRUPTED
Task execution was forcibly interrupted (by disabling its task list or stopping/crashing the node).
|
static TaskState |
TaskState.EXPIRED_INCOMPLETE
Task has expired (i.e.
|
static TaskState |
TaskState.FAILED
Task has failed (it received the completion event with the
isFailed parameter set to true ). |
static TaskState |
TaskState.IDLE
This state means that the task list is not running and its tasks are not queued for execution.
|
static TaskState |
TaskState.INTERRUPTED_INCOMPLETE
Task was interrupted (i.e.
|
static TaskState |
TaskState.PENDING
This state means that the task list is running and the current task is queued for execution.
|
static TaskState |
TaskState.RUNNING
Task is currently running.
|
static TaskState |
TaskState.SKIPPED
Task execution was skipped (i.e.
|
static TaskState |
TaskState.WAITING_ACK
Task is currently waiting for acknowledgement.
|
static TaskState |
TaskState.WAITING_COMPLETION
Task is currently waiting for the completion event.
|
Modifier and Type | Method and Description |
---|---|
TaskState |
TaskExecution.getCompletionState() |
TaskState |
TaskExecution.getExecutionState() |
TaskState |
Task.getState()
Returns a state of the task.
|
TaskState |
TaskExecution.getState() |
TaskState |
AbstractTask.getState() |
static TaskState |
TaskState.valueOf(java.lang.String name) |
static TaskState[] |
TaskState.values() |
Modifier and Type | Method and Description |
---|---|
void |
Task.disableResumptionOn(TaskState state)
Deselects the specified state as a 'resuming' state, disallowing to start execution of a next task
if the current task was not completed properly and moved to this 'bad' state.
|
void |
AbstractExecutableObject.disableResumptionOn(TaskState state) |
void |
ExecutableObject.disableResumptionOn(TaskState state) |
void |
ExceptionTask.disableResumptionOn(TaskState state) |
void |
TaskList.disableResumptionOn(TaskState state)
Invokes the method
Task.disableResumptionOn(TaskState) for each task of the task list. |
void |
Task.enableResumptionOn(TaskState state)
Marks the specified state as a 'resuming' state, allowing to start execution of a next task
even if the current task was not completed properly and moved to this 'bad' state.
|
void |
AbstractExecutableObject.enableResumptionOn(TaskState state) |
void |
ExecutableObject.enableResumptionOn(TaskState state) |
void |
ExceptionTask.enableResumptionOn(TaskState state) |
void |
TaskList.enableResumptionOn(TaskState state)
Invokes the method
Task.enableResumptionOn(TaskState) for each task of the task list. |
boolean |
Task.isResumptionEnabledOn(TaskState state)
Checks if the specified state is marked as a 'resuming' state for this task.
|
boolean |
AbstractTask.isResumptionEnabledOn(TaskState state) |
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.