public class ScriptRunner extends ScriptDriver
ScriptDriver.MethodInfo
m_currentuser, m_session
m_defaultWriter, m_logWriter, m_parametertable, m_timervalue
Constructor and Description |
---|
ScriptRunner(String[] args)
Construct a ScriptRunner.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Start the script, with the specified commandline arguments.
|
void |
run()
Run the script.
|
applyLogLevelOverride, applyLogLevelOverrides, businessObjectExists, cloneDefinition, createMethodInfo, definitionExists, deregisterBusinessObject, deregisterDefinition, deregisterObject, deregisterSession, deregisterTransaction, getArrayTokenDelimiter, getAuditDriverHelper, getCurrentSession, getDefaultScriptOperations, getLogWriter, getShowDates, getStringsFromArrayToken, getStripNumbersFromAuditEventProperties, getSubstitutionPrefix, initializeLogging, log, logToLogger, logToLogger, logToOutput, lookupBusinessObject, lookupDefinition, lookupDefinition, lookupObject, lookupObject, lookupObjectAttributeValue, lookupObjectId, lookupSessionByTag, lookupTagBySessionId, objectExists, registerBusinessObject, registerDefinition, registerNewSession, registerObject, registerTransaction, replaceSession, sessionExists, setArrayTokenDelimiter, setCurrentSession, setDefaultScriptOperations, setDefaultScriptOperationsClass, setDefaultScriptOperationsClass, setMainSession, setMainSessionAsCurrentSession, setMethodList, setSubstitutionPrefix, transactionExists, verifyBusinessObjectTagNotExists, verifyDefinitionTagNotExists, verifyDefinitionWriteable, verifyObjectTagNotExists
connect, Connect, connect, Connect, Connect, Connect, connect, Connect, connect, Connect, Disconnect, getCachePerformanceString, getCleartextCredential, getCleartextCredential, getConnectionPoolPerformanceString, getConnectOptions, getConnectOptions, getConnectOptions, getLocale, showCachePerformance, showConnectionPoolPerformance
getElapsedTime, getParameterTable, initTrace, log, logCurrentTimestamp, printStackTrace, setTimer, showElapsedTime
public ScriptRunner(String[] args)
args
- commandline argumentspublic static void main(String[] args)
This simply constructs a ScriptRunner instance and invokes
run
.
args
- the test arguments.public void run()
Initializes logging, and then delegates to superclass. The superclass consumes any exception after reporting it in the log.
run
in interface Runnable
run
in class ScriptDriver
Copyright © 2023. All rights reserved.