public class TIDDriverCounterCommands extends GenericEngine
This DriverCommands engine does not assume the use of STAF. Instead, it uses the various org.safs.tools Interfaces to talk with the rest of the framework (as made available via the DriverInterface configuration).
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
command |
(package private) static java.lang.String |
COMMAND_DELETE_COUNTER
"DeleteCounter"
|
(package private) static java.lang.String |
COMMAND_LOG_COUNTER_INFO
"LogCounterInfo"
|
(package private) static java.lang.String |
COMMAND_RESET_COUNTER
"ResetCounter"
|
(package private) static java.lang.String |
COMMAND_RESUME_STATUS_COUNTS
"ResumeStatusCounts"
|
(package private) static java.lang.String |
COMMAND_SET_COUNTER_MODE
"SetCounterMode"
|
(package private) static java.lang.String |
COMMAND_START_COUNTER
"StartCounter"
|
(package private) static java.lang.String |
COMMAND_START_CYCLE |
(package private) static java.lang.String |
COMMAND_START_PROCEDURE |
(package private) static java.lang.String |
COMMAND_START_REQUIREMENT |
(package private) static java.lang.String |
COMMAND_START_SUITE |
(package private) static java.lang.String |
COMMAND_START_TESTCASE |
(package private) static java.lang.String |
COMMAND_STOP_COUNTER
"StopCounter"
|
(package private) static java.lang.String |
COMMAND_STOP_CYCLE |
(package private) static java.lang.String |
COMMAND_STOP_PROCEDURE |
(package private) static java.lang.String |
COMMAND_STOP_REQUIREMENT |
(package private) static java.lang.String |
COMMAND_STOP_SUITE |
(package private) static java.lang.String |
COMMAND_STOP_TESTCASE |
(package private) static java.lang.String |
COMMAND_STORE_COUNTER_INFO
"StoreCounterInfo"
|
(package private) static java.lang.String |
COMMAND_SUSPEND_STATUS_COUNTS
"SuspendStatusCounts"
|
static java.lang.String[] |
COUNTER_MODE_TEXT
'AllStatusInfo',
'StepTestsOnly'
|
(package private) CountersInterface |
counters |
(package private) java.lang.String |
desc |
(package private) static java.lang.String |
ENGINE_NAME
"SAFS/TIDDriverFlowCommands"
|
(package private) java.lang.String |
id |
(package private) java.lang.String |
message |
(package private) java.lang.String |
option1 |
(package private) java.lang.String |
option2 |
(package private) java.lang.String |
option3 |
(package private) java.lang.String |
safsDataServiceId |
(package private) VarsInterface |
vars |
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 |
---|
TIDDriverCounterCommands()
Constructor for TIDDriverCommands
|
TIDDriverCounterCommands(DriverInterface driver)
PREFERRED Constructor for TIDDriverCommands.
|
Modifier and Type | Method and Description |
---|---|
void |
launchInterface(java.lang.Object configInfo)
Typically 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
static final java.lang.String COMMAND_START_COUNTER
static final java.lang.String COMMAND_START_CYCLE
static final java.lang.String COMMAND_START_PROCEDURE
static final java.lang.String COMMAND_START_REQUIREMENT
static final java.lang.String COMMAND_START_SUITE
static final java.lang.String COMMAND_START_TESTCASE
static final java.lang.String COMMAND_STOP_COUNTER
static final java.lang.String COMMAND_STOP_CYCLE
static final java.lang.String COMMAND_STOP_PROCEDURE
static final java.lang.String COMMAND_STOP_REQUIREMENT
static final java.lang.String COMMAND_STOP_SUITE
static final java.lang.String COMMAND_STOP_TESTCASE
static final java.lang.String COMMAND_RESET_COUNTER
static final java.lang.String COMMAND_DELETE_COUNTER
static final java.lang.String COMMAND_SUSPEND_STATUS_COUNTS
static final java.lang.String COMMAND_RESUME_STATUS_COUNTS
static final java.lang.String COMMAND_SET_COUNTER_MODE
static final java.lang.String COMMAND_STORE_COUNTER_INFO
static final java.lang.String COMMAND_LOG_COUNTER_INFO
java.lang.String command
java.lang.String message
java.lang.String id
java.lang.String desc
java.lang.String option1
java.lang.String option2
java.lang.String option3
CountersInterface counters
VarsInterface vars
java.lang.String safsDataServiceId
public static final java.lang.String[] COUNTER_MODE_TEXT
public TIDDriverCounterCommands()
public TIDDriverCounterCommands(DriverInterface driver)
public void launchInterface(java.lang.Object configInfo)
GenericEngine
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)
public long processRecord(TestRecordHelper testRecordData)
processRecord
in interface EngineInterface
processRecord
in class GenericEngine
EngineInterface#processRecord()
Copyright © SAS Institute. All Rights Reserved.