public class SAFSDRIVERCOMMANDS extends GenericEngine
Here we are going to use the existing org.safs.DriverCommandsProcessor.
We are going to attempt to use them in-process, rather than starting up the
STAF SAFS/DriverCommands version of the same. This mimics how RobotJ is able
to use these same Driver Command classes.
Note, the current implementation of DriverCommandsProcessor requires access to a STAFHelper. So this class can only be used when such a STAFHelper is accessible from tools associated with the Driver, or via the STAFProcessHelpers class.
| Modifier and Type | Field and Description |
|---|---|
(package private) static java.lang.String |
ENGINE_NAME
'SAFS/IPDriverCommands'
|
protected DDGUIUtilities |
guiUtils
Needed by command Processors.
|
protected LogUtilities |
logUtils
Needed by STAF-centric DriverCommandProcessor.
|
protected DriverCommandProcessor |
processor
Standard Java-based Driver Command processor.
|
console, process, testRecordData, testrecordStackableconfig, customStr, customText, debugStr, debugText, driver, DRIVER_TEMP_PROCESS, failedStr, failedText, genericStr, genericText, launchCount, log, machine, otherStr, otherText, passedStr, passedText, processName, running, SAFS_RESBUN_NAME, servicename, shutdownCount, staf, STAFPROC_EXE, warningStr, warningText, weStartedService, weStartedSTAFCOMMAND_SHUTDOWN_HOOK| Constructor and Description |
|---|
SAFSDRIVERCOMMANDS()
Constructor for SAFSDRIVERCOMMANDS
|
SAFSDRIVERCOMMANDS(DriverInterface driver)
PREFERRED Constructor for SAFSDriverCommands.
|
| Modifier and Type | Method and Description |
|---|---|
void |
launchInterface(java.lang.Object configInfo)
Expects a DriverInterface object for initialization.
|
long |
processRecord(TestRecordHelper testRecordData)
Process the record present in the provided testRecordData.
|
deduceBenchFile, deduceProjectFile, deduceTestFile, getAppMapItem, getEngineName, getVariable, isToolRunning, logMessage, makeQuotedPath, makeQuotedString, popTestRecord, postShutdownServiceDelay, pushTestRecord, reset, resetShutdownSemaphore, saveTestRecordScreenToTestDirectory, setTRDStatus, setVariable, shutdownService, waitHookShutdownAndResetconfigureJSTAFServiceEmbeddedJVMOption, extendedGenericMessage, finalize, getCoreInterface, getEmbeddedJVMBinPath, getSTAFHelper, logMessage, setLogUtilities, setLogUtilities, shutdown, simpleGenericMessage, simpleGenericSuccessMessage, simpleGenericWarningMessage, simpleSuccessMessage, simpleSuccessMessage, simpleSuccessUsingMessage, standardErrorMessage, waitForServiceStartCompletionclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCoreInterface, shutdownstatic final java.lang.String ENGINE_NAME
protected LogUtilities logUtils
protected DDGUIUtilities guiUtils
protected DriverCommandProcessor processor
public SAFSDRIVERCOMMANDS()
public SAFSDRIVERCOMMANDS(DriverInterface driver)
public void launchInterface(java.lang.Object configInfo)
launchInterface in interface ConfigurableToolsInterfacelaunchInterface in class GenericEngineconfigInfo - can be whatever the final implementation needs it to be. This
might be a String with configuration information, the name of a class, or an instance
of some object used to provide configuration assets.GenericEngine.launchInterface(Object),
DriverInterfacepublic long processRecord(TestRecordHelper testRecordData)
processRecord in interface EngineInterfaceprocessRecord in class GenericEngineEngineInterface#processRecord()Copyright © SAS Institute. All Rights Reserved.