org.safs.rational
Class RRobotJHook

java.lang.Object
  extended by org.safs.RobotJHook
      extended by org.safs.rational.RRobotJHook

public class RRobotJHook
extends RobotJHook

Description : RRobotJ Hook Script

Since:
JUL 15, 2003
JUN 15, 2003 dbauman: subclass is now in org.safs.rational AUG 15, 2008 JunwuMa: Modify initializeUtilities() using REngineCommandProcessor instead of EngineCommandProcessor.
MAR 26, 2009 (CANAGL) Added support for clearProxiesAlways.

Field Summary
 
Fields inherited from class org.safs.RobotJHook
data, DEBUG_MESSAGE, FAILED_MESSAGE, FAILED_OK_MESSAGE, GENERIC_MESSAGE, helper, log, PASSED_MESSAGE, processor, REQUEST_PROCEED_TESTING, REQUEST_USER_STOPPED_SCRIPT_REQUEST, ROBOTJ_PROCESS_NAME, SHUTDOWN_RECORD, utils, WARNING_MESSAGE, WARNING_OK_MESSAGE
 
Constructor Summary
RRobotJHook()
           
RRobotJHook(Script script)
           
RRobotJHook(Script script, RLogUtilities logUtils)
           
 
Method Summary
protected  long evaluateRuntimeException(java.lang.Throwable ex)
          Overrides superclass.
 RDDGUIUtilities getRGuiUtilities()
           
 RTestRecordData getRTestRecordData()
           
protected  TestRecordHelper getTestRecordDataFactory()
           
protected  TestRecordHelper getTestRecordDataFactory(DDGUIUtilities utils)
           
protected  DDGUIUtilities getUtilitiesFactory()
           
protected  void initConfigPaths()
           
protected  void initializeUtilities()
          Overrides the superclass to add an EngineCommandProcessor to our ProcessRequest object after normal initialization.
protected  void initRuntimeParams()
           
 void setScript(Script script)
           
 void start()
           
 
Methods inherited from class org.safs.RobotJHook
getHelper, setLogUtil
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RRobotJHook

public RRobotJHook()

RRobotJHook

public RRobotJHook(Script script)

RRobotJHook

public RRobotJHook(Script script,
                   RLogUtilities logUtils)
Method Detail

setScript

public void setScript(Script script)

initializeUtilities

protected void initializeUtilities()
Overrides the superclass to add an EngineCommandProcessor to our ProcessRequest object after normal initialization.

Overrides:
initializeUtilities in class RobotJHook
See Also:
RobotJHook.initializeUtilities()

initConfigPaths

protected void initConfigPaths()

initRuntimeParams

protected void initRuntimeParams()

start

public void start()

evaluateRuntimeException

protected long evaluateRuntimeException(java.lang.Throwable ex)
Overrides superclass. Evaluate if the runtime hook should shutdown, proceed, or some other action following the receipt of a RuntimeException.


getUtilitiesFactory

protected DDGUIUtilities getUtilitiesFactory()
Specified by:
getUtilitiesFactory in class RobotJHook

getRGuiUtilities

public RDDGUIUtilities getRGuiUtilities()

getTestRecordDataFactory

protected TestRecordHelper getTestRecordDataFactory()
Specified by:
getTestRecordDataFactory in class RobotJHook

getRTestRecordData

public RTestRecordData getRTestRecordData()
Returns:
the current populated RTestRecordData

getTestRecordDataFactory

protected TestRecordHelper getTestRecordDataFactory(DDGUIUtilities utils)
Specified by:
getTestRecordDataFactory in class RobotJHook