|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.benfante.splasher.task.AbstractTask
com.benfante.splasher.task.SimpleTask
public class SimpleTask
A simple atomic task. It notifies the observer(s) at the start and after the completion.
| Field Summary |
|---|
| Fields inherited from class com.benfante.splasher.task.AbstractTask |
|---|
completed, COMPLETED, description, weight |
| Constructor Summary | |
|---|---|
SimpleTask(java.lang.Runnable code,
java.lang.String description,
int weight)
Creates a new instance of SimpleTask |
|
| Method Summary | |
|---|---|
void |
run()
Execute the task |
| Methods inherited from class com.benfante.splasher.task.AbstractTask |
|---|
add, getCompleted, getDescription, getWeight, isCompleted, notifyChanges |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleTask(java.lang.Runnable code,
java.lang.String description,
int weight)
code - The code executed by the taskdescription - A description for the taskweight - The weight of this task (relative to the other tasks)| Method Detail |
|---|
public void run()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||