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, description, process, productName, testRecordData, testrecordStackable, version
config, 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, weStartedSTAF
COMMAND_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, getDescription, getEngineName, getProductName, getVariable, getVersion, isToolRunning, logMessage, makeQuotedPath, makeQuotedString, popTestRecord, postShutdownServiceDelay, pushTestRecord, reset, resetShutdownSemaphore, saveTestRecordScreenToTestDirectory, setDescription, setProductName, setTRDStatus, setVariable, setVersion, shutdownService, waitHookShutdownAndReset
configureJSTAFServiceEmbeddedJVMOption, extendedGenericMessage, finalize, getCoreInterface, getEmbedded64JVMBinPath, getEmbeddedJVMBinPath, getSTAFHelper, logMessage, setLogUtilities, setLogUtilities, shutdown, simpleGenericMessage, simpleGenericSuccessMessage, simpleGenericWarningMessage, simpleSuccessMessage, simpleSuccessMessage, simpleSuccessUsingMessage, standardErrorMessage, waitForServiceStartCompletion
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCoreInterface, shutdown
static 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 ConfigurableToolsInterface
launchInterface
in class GenericEngine
configInfo
- 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)
,
DriverInterface
public long processRecord(TestRecordHelper testRecordData)
processRecord
in interface EngineInterface
processRecord
in class GenericEngine
EngineInterface#processRecord()
Copyright © SAS Institute. All Rights Reserved.