T - type of underlying object in the listC - type of conditionspublic class BaseObjectListConditions<T,C extends Conditions<T>> extends java.lang.Object implements ConditionsObject<java.util.List<T>>
| Modifier and Type | Field and Description |
|---|---|
protected Conditions<FluentWebElement> |
conditions |
protected java.util.function.Function<FluentWebElement,C> |
conditionsGetter |
protected java.util.function.Function<FluentWebElement,T> |
objectGetter |
| Constructor and Description |
|---|
BaseObjectListConditions(Conditions<FluentWebElement> conditions,
java.util.function.Function<FluentWebElement,T> objectGetter,
java.util.function.Function<FluentWebElement,C> conditionsGetter)
Creates a new list conditions
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<T> |
getActualObject()
Get the actual object.
|
boolean |
verify(java.util.function.Predicate<T> predicate)
Verify the predicate against the condition.
|
protected Conditions<FluentWebElement> conditions
protected final java.util.function.Function<FluentWebElement,T> objectGetter
protected final java.util.function.Function<FluentWebElement,C extends Conditions<T>> conditionsGetter
public BaseObjectListConditions(Conditions<FluentWebElement> conditions, java.util.function.Function<FluentWebElement,T> objectGetter, java.util.function.Function<FluentWebElement,C> conditionsGetter)
conditions - object conditionsobjectGetter - getter of the underlying objectconditionsGetter - getter of the underlying object conditionspublic java.util.List<T> getActualObject()
ConditionsObjectgetActualObject in interface ConditionsObject<java.util.List<T>>public boolean verify(java.util.function.Predicate<T> predicate)
predicate - predicateCopyright © 2018 FluentLenium. All Rights Reserved.