| Constructor and Description |
|---|
Task() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(Task child)
Adds a child task.
|
void |
begin()
Note: should not be called outside of Scheduler.
|
void |
execute() |
protected abstract void |
executeProtected() |
void |
stop()
Note: it is possible to stop a task which has already finished executing
(the effect is to stop any children which may still be executing).
|
protected abstract void |
stopProtected() |
void |
waitUntilFinished()
Blocks until this task has finished.
|
protected abstract void executeProtected()
throws RippleException
RippleExceptionprotected abstract void stopProtected()
public void execute()
throws RippleException
RippleExceptionpublic void stop()
public void begin()
public void addChild(Task child)
child - the task to addpublic void waitUntilFinished()
throws RippleException
RippleException - if things go astrayCopyright © 2007-2012 fortytwo.net. All Rights Reserved.