|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecti3.dragos.core.AbstractTask
public abstract class AbstractTask
AbstractTask provides an abstract implementation of the
Task interface. It provides an implemetation for managing the
execution interval of a task.
| Constructor Summary | |
|---|---|
AbstractTask()
Empty default constructor. |
|
| Method Summary | |
|---|---|
abstract void |
execute()
Exceutes the tasks. |
long |
getInterval()
Returns the execution interval of the task. |
void |
setInterval(long newInterval)
Sets the execution interval of the task. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractTask()
| Method Detail |
|---|
public abstract void execute()
execute in interface Taskpublic void setInterval(long newInterval)
setInterval in interface TasknewInterval - The execution interval of the task.public long getInterval()
getInterval in interface Task
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||