|
||||||||||
| 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.example.FakeTask
public class FakeTask
A fake initialization task that simply repeat a sleep of 100 milliseconds.
| Field Summary |
|---|
| Fields inherited from class com.benfante.splasher.task.AbstractTask |
|---|
completed, COMPLETED, description, weight |
| Constructor Summary | |
|---|---|
FakeTask(int repetitions,
java.lang.String description)
Creates a new instance of FakeTask |
|
| Method Summary | |
|---|---|
void |
run()
Execution of 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 FakeTask(int repetitions,
java.lang.String description)
repetitions - The number of repetitions for the sleepdescription - A description for the task| Method Detail |
|---|
public void run()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||