public abstract class LoopScriptTask extends java.lang.Object implements ScriptTask
Constructor and Description |
---|
LoopScriptTask() |
Modifier and Type | Method and Description |
---|---|
void |
init(ScriptTaskContainer taskContainer) |
boolean |
isRunning() |
protected abstract int |
loop() |
void |
resume() |
void |
run() |
void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldExecute
public final void init(ScriptTaskContainer taskContainer)
public final void run()
run
in interface java.lang.Runnable
protected abstract int loop()
public final void resume()
public final void stop()
public final boolean isRunning()