Class NotUiCondition
java.lang.Object
com.workfusion.rpa.helpers.conditionsnative.UiCondition
com.workfusion.rpa.helpers.conditions.UiCondition
com.workfusion.rpa.helpers.conditions.NotUiCondition
- All Implemented Interfaces:
com.google.common.base.Predicate<com.workfusion.rpa.internal.api.element.WebElement>,Predicate<com.workfusion.rpa.internal.api.element.WebElement>
Deprecated.
use class from conditionsnative package instead.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactualValue(com.workfusion.rpa.internal.api.element.WebElement element) Deprecated.If element didn't match the condition, returns the actual value of element.booleanapply(com.workfusion.rpa.internal.api.element.WebElement element) Deprecated.Check if given element matches this condition.Methods inherited from class com.workfusion.rpa.helpers.conditionsnative.UiCondition
applyNull, fail, getName, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.common.base.Predicate
equals, test
-
Constructor Details
-
NotUiCondition
Deprecated.
-
-
Method Details
-
apply
public boolean apply(com.workfusion.rpa.internal.api.element.WebElement element) Deprecated.Description copied from class:UiConditionCheck if given element matches this condition.- Specified by:
applyin interfacecom.google.common.base.Predicate<com.workfusion.rpa.internal.api.element.WebElement>- Specified by:
applyin classUiCondition- Parameters:
element- given WebElement- Returns:
- true if element matches condition
-
actualValue
Deprecated.Description copied from class:com.workfusion.rpa.helpers.conditionsnative.UiConditionIf element didn't match the condition, returns the actual value of element. Used in error reporting. Optional. Makes sense only if you need to add some additional important info to error message.- Overrides:
actualValuein classcom.workfusion.rpa.helpers.conditionsnative.UiCondition- Parameters:
element- given WebElement- Returns:
- any string that needs to be appended to error message.
-