Class ScriptRunner.ScriptThread

java.lang.Object
java.lang.Thread
gov.nih.mipav.model.scripting.ScriptRunner.ScriptThread
All Implemented Interfaces:
Runnable
Enclosing class:
ScriptRunner

private class ScriptRunner.ScriptThread extends 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).
  • Field Details

    • curScriptFile

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

    • ScriptThread

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

    • run

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