public class Criteria
extends java.lang.Object
Constructor and Description |
---|
Criteria() |
Criteria(java.lang.String parentRS,
java.lang.String componentRS) |
Criteria(java.lang.String parentRS,
java.lang.String componentRS,
boolean partialMatch) |
Criteria(java.lang.String parentRS,
java.lang.String componentRS,
boolean partialMatch,
java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComponentRS()
The component recognition string.
This might be a simple string served as a label to find component in "Selenium AI". |
java.lang.String |
getParentRS()
The parent recognition string.
This might be null or empty. |
java.lang.String |
getType() |
boolean |
isPartialMatch()
If the text will be matched partially (sub-string of the target string).
It is going to be used with the field parentRS . |
void |
setComponentRS(java.lang.String componentRS) |
void |
setParentRS(java.lang.String parentRS) |
void |
setPartialMatch(boolean partialMatch) |
void |
setType(java.lang.String type) |
java.lang.String |
toString() |
public Criteria()
public Criteria(java.lang.String parentRS, java.lang.String componentRS, boolean partialMatch)
parentRS
- String, the window's recognition stringcomponentRS
- String, the component's recognition stringpartialMatch
- boolean, if we should match the text partially (sub-string).public Criteria(java.lang.String parentRS, java.lang.String componentRS, boolean partialMatch, java.lang.String type)
parentRS
- String, the window's recognition stringcomponentRS
- String, the component's recognition stringpartialMatch
- boolean, if we should match the text partially (sub-string).type
- String, The component's type (such as Button, ComboBox, EditBox etc.)public Criteria(java.lang.String parentRS, java.lang.String componentRS)
parentRS
- String, the window's recognition stringcomponentRS
- String, the component's recognition stringpublic java.lang.String getParentRS()
public void setParentRS(java.lang.String parentRS)
public java.lang.String getComponentRS()
public void setComponentRS(java.lang.String componentRS)
public java.lang.String getType()
componentRS
is a simple string.public void setType(java.lang.String type)
public boolean isPartialMatch()
parentRS
.public void setPartialMatch(boolean partialMatch)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © SAS Institute. All Rights Reserved.