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