Package weka.gui.scripting
Class Script.ScriptThread
- java.lang.Object
-
- java.lang.Thread
-
- weka.gui.scripting.Script.ScriptThread
-
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
GroovyScript.GroovyThread,JythonScript.JythonThread
- Enclosing class:
- Script
public abstract static class Script.ScriptThread extends Thread
The Thread for running a script.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description ScriptThread(Script owner, String[] args)Initializes the thread.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getArgs()Returns the commandline args.ScriptgetOwner()Returns the owner.voidrun()Executes the script.voidstopScript()Stops the script execution.-
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, toString, yield
-
-