| Package | org.spicefactory.lib.task.util |
| Class | public class CommandTask |
| Inheritance | CommandTask Task flash.events.EventDispatcher |
TaskGroup.
| Method | Defined by | ||
|---|---|---|---|
|
CommandTask(command:Command, name:String = "[CommandTask]")
Creates a new Task that wraps the specified synchronous Command.
| CommandTask | ||
![]() |
cancel():Boolean
Cancels this Task.
| Task | |
![]() |
resume():Boolean
Resumes this Task if it is suspended.
| Task | |
![]() |
skip():Boolean
Forces this Task to move to its final state.
| Task | |
![]() |
start():Boolean
Starts this Task.
| Task | |
![]() |
suspend():Boolean
Suspends this Task.
| Task | |
| CommandTask | () | constructor |
public function CommandTask(command:Command, name:String = "[CommandTask]")Creates a new Task that wraps the specified synchronous Command.
Parameterscommand:Command — the Command to execute when the Task is started
|
|
name:String (default = "[CommandTask]") — an optional name for this CommandTask for log output
|