Package gov.nih.mipav.model.scripting
Class ScriptRunner.ScriptThread
java.lang.Object
java.lang.Thread
gov.nih.mipav.model.scripting.ScriptRunner.ScriptThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
ScriptRunner
A separate thread used to execute a given script (the image and voi table should already be set up before the
thread is started).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe file name of the script to execute in this thread.Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
curScriptFile
The file name of the script to execute in this thread.
-
-
Constructor Details
-
ScriptThread
Creates a new ScriptThread object.- Parameters:
file- The script file to execute in this thread.
-
-
Method Details