public class ExecOrCompileThread extends Thread implements WindowListener
T-Plan Robot Enterprise, (C) 2009-2022 T-Plan Limited. All rights reserved.
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
ExecOrCompileThread(String[] args,
ScriptListener l,
ScriptManager sm,
com.tplan.robot.gui.MainFrame outer,
PrintStream logStream) |
ExecOrCompileThread(TestScriptInterpret[] ts,
boolean execute,
boolean forceCompilation,
com.tplan.robot.gui.MainFrame outer) |
ExecOrCompileThread(TestScriptInterpret ts,
boolean execute,
boolean forceCompilation,
com.tplan.robot.gui.MainFrame outer) |
ExecOrCompileThread(TestScriptInterpret ts,
boolean execute,
com.tplan.robot.gui.MainFrame outer) |
Modifier and Type | Method and Description |
---|---|
Exception |
getException() |
Integer |
getExitCode()
Get the last exec process exit code.
|
Schedule |
getOwningSchedule() |
boolean |
isOwner(ScriptedExecutable executable)
Find out if the execution thread is owner of the argument test script or
schedule.
|
void |
run() |
void |
setOwningSchedule(Schedule owningSchedule) |
void |
setScriptArgs(String[] args)
Set the script arguments.
|
void |
windowActivated(WindowEvent e) |
void |
windowClosed(WindowEvent e) |
void |
windowClosing(WindowEvent e) |
void |
windowDeactivated(WindowEvent e) |
void |
windowDeiconified(WindowEvent e) |
void |
windowIconified(WindowEvent e) |
void |
windowOpened(WindowEvent e) |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public ExecOrCompileThread(String[] args, ScriptListener l, ScriptManager sm, com.tplan.robot.gui.MainFrame outer, PrintStream logStream)
public ExecOrCompileThread(TestScriptInterpret ts, boolean execute, com.tplan.robot.gui.MainFrame outer)
public ExecOrCompileThread(TestScriptInterpret ts, boolean execute, boolean forceCompilation, com.tplan.robot.gui.MainFrame outer)
public ExecOrCompileThread(TestScriptInterpret[] ts, boolean execute, boolean forceCompilation, com.tplan.robot.gui.MainFrame outer)
public Exception getException()
public void windowOpened(WindowEvent e)
windowOpened
in interface WindowListener
public void windowClosing(WindowEvent e)
windowClosing
in interface WindowListener
public void windowClosed(WindowEvent e)
windowClosed
in interface WindowListener
public void windowIconified(WindowEvent e)
windowIconified
in interface WindowListener
public void windowDeiconified(WindowEvent e)
windowDeiconified
in interface WindowListener
public void windowActivated(WindowEvent e)
windowActivated
in interface WindowListener
public void windowDeactivated(WindowEvent e)
windowDeactivated
in interface WindowListener
public Integer getExitCode()
public Schedule getOwningSchedule()
public void setOwningSchedule(Schedule owningSchedule)
public boolean isOwner(ScriptedExecutable executable)
executable
- an executable (a test script or a schedule).public void setScriptArgs(String[] args)
args
- the script arguments.