public final class TaskState
extends java.lang.Enum
Title: Service Event Fabric Core
Description: Defines a state of the Scheduled Task.
Copyright: Copyright (c) 2013
Company: StreamScape Technologies
Modifier and Type | Field and Description |
---|---|
static TaskState |
COMPLETED
Task has completed (it received the completion event).
|
static TaskState |
CONDITIONAL
Task execution was skipped because the execution parameters (metaset) did not match the task condition.
|
static TaskState |
EXECUTION_COMPLETED
Task execution has completed.
|
static TaskState |
EXECUTION_EXCEPTION
Task execution was interrupted due to a failure.
|
static TaskState |
EXECUTION_EXPIRED
Task execution has expired (i.e.
|
static TaskState |
EXECUTION_INTERRUPTED
Task execution was forcibly interrupted (by disabling its task list or stopping/crashing the node).
|
static TaskState |
EXPIRED_INCOMPLETE
Task has expired (i.e.
|
static TaskState |
FAILED
Task has failed (it received the completion event with the
isFailed parameter set to true ). |
static TaskState |
IDLE
This state means that the task list is not running and its tasks are not queued for execution.
|
static TaskState |
INTERRUPTED_INCOMPLETE
Task was interrupted (i.e.
|
static TaskState |
PENDING
This state means that the task list is running and the current task is queued for execution.
|
static TaskState |
RUNNING
Task is currently running.
|
static TaskState |
SKIPPED
Task execution was skipped (i.e.
|
static TaskState |
WAITING_ACK
Task is currently waiting for acknowledgement.
|
static TaskState |
WAITING_COMPLETION
Task is currently waiting for the completion event.
|
Modifier and Type | Method and Description |
---|---|
static TaskState |
valueOf(java.lang.String name) |
static TaskState[] |
values() |
public static final TaskState IDLE
public static final TaskState PENDING
public static final TaskState RUNNING
public static final TaskState WAITING_ACK
Event Task
only.public static final TaskState EXECUTION_COMPLETED
public static final TaskState EXECUTION_EXPIRED
public static final TaskState SKIPPED
public static final TaskState CONDITIONAL
public static final TaskState EXECUTION_EXCEPTION
public static final TaskState EXECUTION_INTERRUPTED
public static final TaskState WAITING_COMPLETION
public static final TaskState EXPIRED_INCOMPLETE
public static final TaskState INTERRUPTED_INCOMPLETE
public static final TaskState COMPLETED
public static final TaskState FAILED
isFailed
parameter set to true
).Copyright © 2015-2024 StreamScape Technologies. All rights reserved.