GODPAPER | All Packages | All Classes | Index | Frames No Frames |
TaskState

Package | org.spicefactory.lib.task.enum
Class | public class TaskState
Inheritance | TaskState Object

Enumeration for the internal state of Task instances.

Public Constants

| Constant | Defined 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

ACTIVE | Constant

`public static const ACTIVE:TaskState`

The state of a running Task.

FINISHED | Constant |

`public static const FINISHED:TaskState`

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

INACTIVE | Constant |

`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.

SUSPENDED | Constant |

`public static const SUSPENDED:TaskState`

The state of a suspended Task.

Thu Jan 16 2014, 01:11 PM +08:00