Package org.dreambot.api.script.schedule
Class ScriptScheduler
- java.lang.Object
-
- java.lang.Thread
-
- org.dreambot.api.script.schedule.ScriptScheduler
-
- All Implemented Interfaces:
java.lang.Runnable
public class ScriptScheduler extends java.lang.Thread
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScriptScheduler
getScriptScheduler()
static boolean
isRunning()
void
onScriptStop()
void
reset()
void
run()
void
start(java.lang.String name)
boolean
start(ScriptSchedule scriptSchedule)
java.lang.String
toString()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, yield
-
-
-
-
Method Detail
-
isRunning
public static boolean isRunning()
-
getScriptScheduler
public static ScriptScheduler getScriptScheduler()
-
start
public boolean start(ScriptSchedule scriptSchedule)
-
onScriptStop
public void onScriptStop()
-
reset
public void reset()
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classjava.lang.Thread
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Thread
-
start
public void start(java.lang.String name)
-
-