public class ScriptExecutor
extends java.lang.Object
Constructor and Description |
---|
ScriptExecutor(Bot bot) |
Modifier and Type | Method and Description |
---|---|
Script |
getCurrent() |
java.lang.Thread |
getThread() |
boolean |
isPaused() |
boolean |
isRunning() |
boolean |
isRunningQueue() |
boolean |
isScriptQueueCompleted() |
boolean |
isSuspended() |
void |
pause() |
void |
restart() |
void |
resume() |
void |
resume(boolean scheduleExecutors) |
void |
setRunningScript(boolean runningScript)
Deprecated.
|
void |
setScriptQueue(ScriptQueue scriptQueue) |
void |
start(Script script) |
void |
stop() |
void |
stop(boolean toggleHumanInput) |
void |
stop(boolean toggleHumanInput,
boolean toggleHeaderBar) |
void |
stopOrContinueQueue() |
void |
stopQueueItemAfterTime(ScriptQueue.ScriptQueueItem item) |
void |
suspend() |
public ScriptExecutor(Bot bot)
@Deprecated public void setRunningScript(boolean runningScript)
runningScript
- The new running script statepublic void start(Script script) throws java.lang.InterruptedException
java.lang.InterruptedException
public void stop() throws java.lang.InterruptedException
java.lang.InterruptedException
public void stop(boolean toggleHumanInput) throws java.lang.InterruptedException
java.lang.InterruptedException
public void stop(boolean toggleHumanInput, boolean toggleHeaderBar) throws java.lang.InterruptedException
java.lang.InterruptedException
public boolean isRunningQueue()
public boolean isScriptQueueCompleted()
public void stopQueueItemAfterTime(ScriptQueue.ScriptQueueItem item)
public void stopOrContinueQueue() throws java.lang.InterruptedException
java.lang.InterruptedException
public void resume()
public void resume(boolean scheduleExecutors)
public void pause() throws java.lang.InterruptedException
java.lang.InterruptedException
public void suspend() throws java.lang.InterruptedException
java.lang.InterruptedException
public void restart()
public Script getCurrent()
public java.lang.Thread getThread()
public boolean isRunning()
public boolean isPaused()
public boolean isSuspended()
public void setScriptQueue(ScriptQueue scriptQueue)