|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.safs.Processor
org.safs.EngineCommandProcessor
public class EngineCommandProcessor
EngineCommandProcessor for Record Type: 'E' Instantiated by ProcessRequest.
Engines utilizing the GUI processing functions of this class must provide an engine-specific version of their GuiObjectVector for this generic processor to function properly. Once set the processor will gain access to engine-specific implementations of functionality.
setGuiObjectVector(GuiObjectVector)| Field Summary | |
|---|---|
protected java.lang.String |
command
Convenient storage of testRecordData.getCommand() value |
static java.lang.String |
COMMAND_ENABLE_DOMAINS
'enableDomains' |
static java.lang.String |
COMMAND_GET_ACCESSIBLENAME
'getAccessibleName' |
static java.lang.String |
COMMAND_GET_CAPTION
'getCaption' |
static java.lang.String |
COMMAND_GET_CHILD_COUNT
'getChildCount' |
static java.lang.String |
COMMAND_GET_CHILDREN
'getChildren' |
static java.lang.String |
COMMAND_GET_CLASSINDEX
'getClassIndex' |
static java.lang.String |
COMMAND_GET_CLASSNAME
'getClassName' |
static java.lang.String |
COMMAND_GET_DOMAINNAME
'getDomainName' |
static java.lang.String |
COMMAND_GET_ID
'getID' |
static java.lang.String |
COMMAND_GET_LEVEL
'getLevel' |
static java.lang.String |
COMMAND_GET_MATCHING_CHILD_OBJECTS
'getMatchingChildObjects' |
static java.lang.String |
COMMAND_GET_MATCHING_PARENT_OBJECT
'getMatchingParentObject' |
static java.lang.String |
COMMAND_GET_MATCHING_PATH_OBJECT
'getMatchingPathObject' |
static java.lang.String |
COMMAND_GET_NAME
'getName' |
static java.lang.String |
COMMAND_GET_NONACCESSIBLENAME
'getNonAccessibleName' |
static java.lang.String |
COMMAND_GET_OBJECTRECOGNITION_ATSCREENCOORDS
'getObjectRecognitionAtScreenCoords' |
static java.lang.String |
COMMAND_GET_PROPERTY
'getProperty' |
static java.lang.String |
COMMAND_GET_PROPERTY_NAMES
'getPropertyNames' |
static java.lang.String |
COMMAND_GET_STRING_DATA
'getStringData' |
static java.lang.String |
COMMAND_GET_SUPER_CLASSNAMES
'getSuperClassNames' |
static java.lang.String |
COMMAND_GET_TEXT
'getText' |
static java.lang.String |
COMMAND_GET_TOPLEVEL_COUNT
'getTopLevelCount' |
static java.lang.String |
COMMAND_GET_TOPLEVEL_WINDOWS
'getTopLevelWindows' |
static java.lang.String |
COMMAND_IS_MATCHING_PATH
'isMatchingPath' |
static java.lang.String |
COMMAND_IS_SHOWING
'isShowing' |
static java.lang.String |
COMMAND_IS_TOPLEVEL_POPUP_CONTAINER
'isTopLevelPopupContainer' |
static java.lang.String |
COMMAND_IS_VALID
'isValid' |
static java.lang.String |
COMMAND_SET_ACTIVE_WINDOW
'setActiveWindow' |
| Constructor Summary | |
|---|---|
EngineCommandProcessor()
|
|
| Method Summary | |
|---|---|
protected void |
_getObjectRecognitionAtScreenCoords()
get recognition string of a GUI object at screen coordinates. |
protected java.lang.String |
convertToDelimitedString(java.lang.String[] items)
find a unique separator using STAFLocalServer.getUniqueSeparator and convert the array to a single string of separated values. |
java.lang.String |
getEngineCommand()
|
GuiObjectVector |
getGuiObjectVector()
|
protected java.util.Collection |
interpretFields()
Interprets the fields of the test record and puts the appropriate values into the fields of testRecordData. |
boolean |
isSupportedRecordType(java.lang.String recordType)
Supports 'E' |
void |
process()
By default executes setRecordProcessed(false) if no chainedProcessor is present. |
protected java.lang.String |
recognitionOfObjectAtPoint(int x,
int y)
|
void |
setGuiObjectVector(GuiObjectVector gov)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COMMAND_GET_DOMAINNAME
public static final java.lang.String COMMAND_GET_CAPTION
public static final java.lang.String COMMAND_GET_CHILD_COUNT
public static final java.lang.String COMMAND_GET_CHILDREN
public static final java.lang.String COMMAND_GET_CLASSNAME
public static final java.lang.String COMMAND_GET_CLASSINDEX
public static final java.lang.String COMMAND_GET_ID
public static final java.lang.String COMMAND_GET_LEVEL
public static final java.lang.String COMMAND_GET_MATCHING_CHILD_OBJECTS
public static final java.lang.String COMMAND_GET_MATCHING_PARENT_OBJECT
public static final java.lang.String COMMAND_GET_MATCHING_PATH_OBJECT
public static final java.lang.String COMMAND_GET_NAME
public static final java.lang.String COMMAND_GET_ACCESSIBLENAME
public static final java.lang.String COMMAND_GET_NONACCESSIBLENAME
public static final java.lang.String COMMAND_GET_PROPERTY
public static final java.lang.String COMMAND_GET_PROPERTY_NAMES
public static final java.lang.String COMMAND_GET_STRING_DATA
public static final java.lang.String COMMAND_GET_SUPER_CLASSNAMES
public static final java.lang.String COMMAND_GET_TEXT
public static final java.lang.String COMMAND_GET_TOPLEVEL_COUNT
public static final java.lang.String COMMAND_GET_TOPLEVEL_WINDOWS
public static final java.lang.String COMMAND_IS_MATCHING_PATH
public static final java.lang.String COMMAND_IS_SHOWING
public static final java.lang.String COMMAND_IS_VALID
public static final java.lang.String COMMAND_SET_ACTIVE_WINDOW
public static final java.lang.String COMMAND_ENABLE_DOMAINS
public static final java.lang.String COMMAND_IS_TOPLEVEL_POPUP_CONTAINER
public static final java.lang.String COMMAND_GET_OBJECTRECOGNITION_ATSCREENCOORDS
protected java.lang.String command
| Constructor Detail |
|---|
public EngineCommandProcessor()
| Method Detail |
|---|
public boolean isSupportedRecordType(java.lang.String recordType)
isSupportedRecordType in class ProcessorrecordType - -- String text of record type to match (ignoring case).
Processor.isSupportedRecordType(java.lang.String),
Processor.isEngineCommandRecord(java.lang.String)public void process()
By default executes setRecordProcessed(false) if no chainedProcessor is present.
process in class Processorpublic GuiObjectVector getGuiObjectVector()
public void setGuiObjectVector(GuiObjectVector gov)
gov - The engine-specific GuiObjectVector to set.public java.lang.String getEngineCommand()
protected java.util.Collection interpretFields()
throws SAFSException
Processor.testRecordData fields are set from the inputRecord.
Processor.testRecordData, the inputRecord field
Field #1: The TEST record type (E).
Subsequent fields would be as follows (with a separator between each field):
Field: #2 #3-N
============== ==============
ENGINECOMMAND, [PARAMETER(S),]
SAFSExceptionprotected java.lang.String convertToDelimitedString(java.lang.String[] items)
items -
STAFLocalServer.getUniqueSeparator(String)protected void _getObjectRecognitionAtScreenCoords()
recognitionOfObjectAtPoint(int, int)
protected java.lang.String recognitionOfObjectAtPoint(int x,
int y)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||