public class ScriptHandler.LocalScriptDriver extends ScriptDriver
ScriptDriver.MethodInfo
m_currentuser, m_session
m_defaultWriter, m_logWriter, m_parametertable, m_timervalue
Constructor and Description |
---|
LocalScriptDriver(String[] args,
boolean keepResults)
Constructs a LocalScriptDriver.
|
Modifier and Type | Method and Description |
---|---|
StringBuffer |
getScriptResults()
Gets the script results.
|
protected void |
logToLogger(String msg)
Log the specified message to the logger's log.
|
protected void |
logToOutput(String msg)
Log the specified message to the configured output log.
|
applyLogLevelOverride, applyLogLevelOverrides, businessObjectExists, cloneDefinition, createMethodInfo, definitionExists, deregisterBusinessObject, deregisterDefinition, deregisterObject, deregisterSession, deregisterTransaction, getArrayTokenDelimiter, getAuditDriverHelper, getCurrentSession, getDefaultScriptOperations, getLogWriter, getShowDates, getStringsFromArrayToken, getStripNumbersFromAuditEventProperties, getSubstitutionPrefix, initializeLogging, log, logToLogger, lookupBusinessObject, lookupDefinition, lookupDefinition, lookupObject, lookupObject, lookupObjectAttributeValue, lookupObjectId, lookupSessionByTag, lookupTagBySessionId, objectExists, registerBusinessObject, registerDefinition, registerNewSession, registerObject, registerTransaction, replaceSession, run, 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 LocalScriptDriver(String[] args, boolean keepResults)
args
- the effective commandline argskeepResults
- indicates whether script results should be
collectedprotected void logToOutput(String msg)
ScriptDriver
logToOutput
in class ScriptDriver
msg
- The log messageprotected void logToLogger(String msg)
ScriptDriver
logToLogger
in class ScriptDriver
msg
- The log messagepublic StringBuffer getScriptResults()
Copyright © 2023. All rights reserved.