Class BaseObjectListConditions<T,​C extends Conditions<T>>

    • Constructor Detail

      • BaseObjectListConditions

        public BaseObjectListConditions​(Conditions<FluentWebElement> conditions,
                                        java.util.function.Function<FluentWebElement,​T> objectGetter,
                                        java.util.function.Function<FluentWebElement,​C> conditionsGetter)
        Creates a new list conditions
        Parameters:
        conditions - object conditions
        objectGetter - getter of the underlying object
        conditionsGetter - getter of the underlying object conditions
    • Method Detail

      • getActualObject

        public java.util.List<T> getActualObject()
        Description copied from interface: ConditionsObject
        Get the actual object.
        Specified by:
        getActualObject in interface ConditionsObject<T>
        Returns:
        actual object on which conditions are performed.
      • verify

        public boolean verify​(java.util.function.Predicate<T> predicate)
        Verify the predicate against the condition.
        Parameters:
        predicate - predicate
        Returns:
        true if the predicate is verified