public class EngineProcessor extends SAFSProcessor implements CacheReferenceInterface
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Hashtable<java.lang.Object,java.lang.Object> |
_defs |
protected java.util.Hashtable<java.lang.Object,java.lang.Object> |
cache |
boolean |
chainedSolo
set to true by internal processes when SoloProcessor has been chained.
|
(package private) DGuiObjectVector |
dgov |
(package private) HighLightUtil |
highlightUtil |
protected int |
INITIAL_CACHE_SIZE |
static java.lang.String |
TAG |
(package private) boolean |
tempSuccess |
command_timeout, compname, compobj, comprec, dgcd, inst, KEY_COMPOBJ, params, resourceDetailMsg, resourceMsg, robot, secsWaitForComponent, secsWaitForWindow, solo, testObjectCache, testrunner, winname, winobj, winrecremoteCommand, testRunner| Constructor and Description |
|---|
EngineProcessor(DSAFSTestRunner testrunner) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCacheReferenceInterface(CacheReferenceInterface cache)
CacheReferenceInterface implementation.
|
void |
clearCache(boolean useChain)
CacheReferenceInterface implementation.
|
java.lang.Object |
getCachedObject(java.lang.String key,
boolean useChain)
CacheReferenceInterface implementation.
|
MessageResult |
processMessage(java.lang.String message) |
void |
processProperties(java.util.Properties props)
Before calling this method, you may need to call setRemoteCommand()
|
void |
removeCacheReferenceInterface(CacheReferenceInterface cache)
CacheReferenceInterface implementation.
|
void |
resetExternalModeCache(java.util.Hashtable cache)
Resets both the object cache and the _defs cache of associated DGuiObjectDefinitions.
|
clearTestObjectCache, extractComponentProperties, getDgcd, getInstrumentation, getParams, getSecsWaitForComponent, getSecsWaitForWindow, getSolo, getTestObject, setDgcd, setGeneralErrorWithBundleMessage, setGeneralSuccessWithBundleMessage, setParams, setSecsWaitForComponent, setSecsWaitForWindow, setSolo, setTestObjectconvertToKey, convertToKeys, convertToKeys, debug, getCachedItem, getStackTrace, makeUniqueCacheKey, putCachedItem, removeCachedItem, setGeneralError, setGeneralError, setGeneralErrorWithSpecialInfo, setGeneralErrorWithSpecialInfo, setGeneralSuccess, setGeneralSuccess, setGeneralSuccessWithSpecialInfo, setGeneralWarningWithSpecialInfo, setRemoteCommand, stringIsMatchedpublic static java.lang.String TAG
protected int INITIAL_CACHE_SIZE
protected java.util.Hashtable<java.lang.Object,java.lang.Object> cache
protected java.util.Hashtable<java.lang.Object,java.lang.Object> _defs
DGuiObjectVector dgov
HighLightUtil highlightUtil
boolean tempSuccess
public boolean chainedSolo
public EngineProcessor(DSAFSTestRunner testrunner)
public void resetExternalModeCache(java.util.Hashtable cache)
resetExternalModeCache in class AbstractProcessorcache - Hashtable, MUST be an initialized objectAbstractProcessor.resetExternalModeCache(java.util.Hashtable)public void processProperties(java.util.Properties props)
AbstractProcessorprocessProperties in interface ProcessorInterfaceprocessProperties in class AbstractProcessorProcessorInterface.processProperties(Properties)public MessageResult processMessage(java.lang.String message)
processMessage in interface ProcessorInterfaceprocessMessage in class AbstractProcessorProcessorInterface.processMessage(String)public java.lang.Object getCachedObject(java.lang.String key,
boolean useChain)
getCachedObject in interface CacheReferenceInterfacekey - -- String key for identifying the object stored in cache.useChain - -- true if the instance should search in all chained caches,
false if only the individual local cache should be searched.public void addCacheReferenceInterface(CacheReferenceInterface cache)
addCacheReferenceInterface in interface CacheReferenceInterfaceCacheReferenceInterface.addCacheReferenceInterface(CacheReferenceInterface)public void removeCacheReferenceInterface(CacheReferenceInterface cache)
removeCacheReferenceInterface in interface CacheReferenceInterfaceCacheReferenceInterface.removeCacheReferenceInterface(CacheReferenceInterface)public void clearCache(boolean useChain)
clearCache in interface CacheReferenceInterfaceuseChain - -- true if the instance should clear all chained caches,
false if only the individual local cache should be cleared.CacheReferenceInterface.clearCache(boolean)Copyright © SAS Institute. All Rights Reserved.