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 public class NotUiCondition extends UiCondition
Deprecated.
use class from conditionsnative package instead.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    actualValue(com.workfusion.rpa.internal.api.element.WebElement element)
    Deprecated.
    If element didn't match the condition, returns the actual value of element.
    boolean
    apply(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, toString

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.common.base.Predicate

    equals, test

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Constructor Details

    • NotUiCondition

      public NotUiCondition(UiCondition condition)
      Deprecated.
  • Method Details

    • apply

      public boolean apply(com.workfusion.rpa.internal.api.element.WebElement element)
      Deprecated.
      Description copied from class: UiCondition
      Check if given element matches this condition.
      Specified by:
      apply in interface com.google.common.base.Predicate<com.workfusion.rpa.internal.api.element.WebElement>
      Specified by:
      apply in class UiCondition
      Parameters:
      element - given WebElement
      Returns:
      true if element matches condition
    • actualValue

      public String actualValue(com.workfusion.rpa.internal.api.element.WebElement element)
      Deprecated.
      Description copied from class: com.workfusion.rpa.helpers.conditionsnative.UiCondition
      If 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:
      actualValue in class com.workfusion.rpa.helpers.conditionsnative.UiCondition
      Parameters:
      element - given WebElement
      Returns:
      any string that needs to be appended to error message.