com.pushtotest.testmaker.gui
Class AgentRunner

java.lang.Object
  extended by java.lang.Thread
      extended by com.pushtotest.testmaker.gui.AgentRunner
All Implemented Interfaces:
java.lang.Runnable

public class AgentRunner
extends java.lang.Thread

AgentRunner is a thread that executes TestMaker test agents


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AgentRunner(AgentScript ts)
          Alternative constructor for running test agent scripts from the command line
AgentRunner(AgentScript thescript, javax.swing.JFrame f, JTextAreaWriter iowriter, javax.swing.JPanel thechart)
          Identifies agent script and other execution parameters
 
Method Summary
 void run()
           
 boolean status()
          Returns status of the AgentRunner thread, true = still running, false = done
 
Methods inherited from class java.lang.Thread
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentRunner

public AgentRunner(AgentScript ts)
Alternative constructor for running test agent scripts from the command line


AgentRunner

public AgentRunner(AgentScript thescript,
                   javax.swing.JFrame f,
                   JTextAreaWriter iowriter,
                   javax.swing.JPanel thechart)
Identifies agent script and other execution parameters

Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

status

public boolean status()
Returns status of the AgentRunner thread, true = still running, false = done