Packageorg.spicefactory.lib.task.enum
Classpublic class TaskState
InheritanceTaskState Inheritance Object

Enumeration for the internal state of Task instances.



Public Constants
 ConstantDefined By
  ACTIVE : TaskState
[static] The state of a running Task.
TaskState
  FINISHED : TaskState
[static] The state of a non-restartable Task that has completed its execution.
TaskState
  INACTIVE : TaskState
[static] The state of the Task before it has been started for the first time or (for restartable Tasks) also after it has completed its execution.
TaskState
  SUSPENDED : TaskState
[static] The state of a suspended Task.
TaskState
Constant Detail
ACTIVEConstant
public static const ACTIVE:TaskState

The state of a running Task.

FINISHEDConstant 
public static const FINISHED:TaskState

The state of a non-restartable Task that has completed its execution.

INACTIVEConstant 
public static const INACTIVE:TaskState

The state of the Task before it has been started for the first time or (for restartable Tasks) also after it has completed its execution. Only Task instances with this internal state can be started.

SUSPENDEDConstant 
public static const SUSPENDED:TaskState

The state of a suspended Task.