Class ScriptRunner.ScriptThread

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    ScriptRunner

    private class ScriptRunner.ScriptThread
    extends java.lang.Thread
    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

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String curScriptFile
      The 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 
      Constructor Description
      ScriptThread​(java.lang.String file)
      Creates a new ScriptThread object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()
      Start execution of the script.
      • 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, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • curScriptFile

        private final java.lang.String curScriptFile
        The file name of the script to execute in this thread.
    • Constructor Detail

      • ScriptThread

        public ScriptThread​(java.lang.String file)
        Creates a new ScriptThread object.
        Parameters:
        file - The script file to execute in this thread.
    • Method Detail

      • run

        public void run()
        Start execution of the script.
        Specified by:
        run in interface java.lang.Runnable
        Overrides:
        run in class java.lang.Thread