Class SequentialGetValueSupplier<T>
- java.lang.Object
-
- ru.tinkoff.qa.neptune.core.api.steps.SequentialGetStepSupplier<T,R,M,P,THIS>
-
- ru.tinkoff.qa.neptune.core.api.steps.SequentialGetStepSupplier.GetObjectChainedStepSupplier<Object,T,HasValue<T>,SequentialGetValueSupplier<T>>
-
- ru.tinkoff.qa.neptune.selenium.functions.value.SequentialGetValueSupplier<T>
-
- All Implemented Interfaces:
Cloneable
,Supplier<Function<Object,T>>
,StepParameterPojo
public final class SequentialGetValueSupplier<T> extends SequentialGetStepSupplier.GetObjectChainedStepSupplier<Object,T,HasValue<T>,SequentialGetValueSupplier<T>>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ru.tinkoff.qa.neptune.core.api.steps.SequentialGetStepSupplier
SequentialGetStepSupplier.DefaultGetParameterReader, SequentialGetStepSupplier.DefineCriteriaParameterName, SequentialGetStepSupplier.DefineFromParameterName, SequentialGetStepSupplier.DefineGetImperativeParameterName, SequentialGetStepSupplier.DefinePollingTimeParameterName, SequentialGetStepSupplier.DefineResultDescriptionParameterName, SequentialGetStepSupplier.DefineTimeOutParameterName, SequentialGetStepSupplier.GetArrayChainedStepSupplier<T,R,M,THIS extends SequentialGetStepSupplier.GetArrayChainedStepSupplier<T,R,M,THIS>>, SequentialGetStepSupplier.GetArrayStepSupplier<T,R,THIS extends SequentialGetStepSupplier.GetArrayStepSupplier<T,R,THIS>>, SequentialGetStepSupplier.GetListChainedStepSupplier<T,S extends Iterable<R>,M,R,THIS extends SequentialGetStepSupplier.GetListChainedStepSupplier<T,S,M,R,THIS>>, SequentialGetStepSupplier.GetListStepSupplier<T,S extends Iterable<R>,R,THIS extends SequentialGetStepSupplier.GetListStepSupplier<T,S,R,THIS>>, SequentialGetStepSupplier.GetObjectChainedStepSupplier<T,R,M,THIS extends SequentialGetStepSupplier.GetObjectChainedStepSupplier<T,R,M,THIS>>, SequentialGetStepSupplier.GetObjectFromArrayChainedStepSupplier<T,R,M,THIS extends SequentialGetStepSupplier.GetObjectFromArrayChainedStepSupplier<T,R,M,THIS>>, SequentialGetStepSupplier.GetObjectFromArrayStepSupplier<T,R,THIS extends SequentialGetStepSupplier.GetObjectFromArrayStepSupplier<T,R,THIS>>, SequentialGetStepSupplier.GetObjectFromIterableChainedStepSupplier<T,R,M,THIS extends SequentialGetStepSupplier.GetObjectFromIterableChainedStepSupplier<T,R,M,THIS>>, SequentialGetStepSupplier.GetObjectFromIterableStepSupplier<T,R,THIS extends SequentialGetStepSupplier.GetObjectFromIterableStepSupplier<T,R,THIS>>, SequentialGetStepSupplier.GetObjectStepSupplier<T,R,THIS extends SequentialGetStepSupplier.GetObjectStepSupplier<T,R,THIS>>, SequentialGetStepSupplier.GetSimpleStepSupplier<T,R,THIS extends SequentialGetStepSupplier.GetSimpleStepSupplier<T,R,THIS>>
-
-
Field Summary
-
Fields inherited from class ru.tinkoff.qa.neptune.core.api.steps.SequentialGetStepSupplier
toReport
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T,R extends org.openqa.selenium.SearchContext & HasValue<T>>
SequentialGetValueSupplier<T>ofThe(R from)
Builds a function which takes a value from some element and returns the value.static <T,R extends org.openqa.selenium.SearchContext & HasValue<T>>
SequentialGetValueSupplier<T>ofThe(SearchSupplier<R> from)
Builds a function which takes a value from some element and returns the value.-
Methods inherited from class ru.tinkoff.qa.neptune.core.api.steps.SequentialGetStepSupplier.GetObjectChainedStepSupplier
from, from, from
-
Methods inherited from class ru.tinkoff.qa.neptune.core.api.steps.SequentialGetStepSupplier
addIgnored, addIgnored, additionalParameters, eraseTimeOut, getCriteria, getDescription, getEndFunction, getFrom, getParameters, makeACopy, onFailure, onStart, onSuccess, pollingInterval, preparePreFunction, setDescription, throwOnNoResult, timeOut, toString, turnReportingOff
-
-
-
-
Method Detail
-
ofThe
public static <T,R extends org.openqa.selenium.SearchContext & HasValue<T>> SequentialGetValueSupplier<T> ofThe(SearchSupplier<R> from)
Builds a function which takes a value from some element and returns the value.- Type Parameters:
T
- is the type of a value to be returnedR
- is the type of an element which has value- Parameters:
from
- is how to find the element which has value- Returns:
- the function which takes a value from some element and returns the value.
-
ofThe
public static <T,R extends org.openqa.selenium.SearchContext & HasValue<T>> SequentialGetValueSupplier<T> ofThe(R from)
Builds a function which takes a value from some element and returns the value.- Type Parameters:
T
- is the type of a value to be returnedR
- is the type of an element which has value- Parameters:
from
- is the element which has value- Returns:
- the function which takes a value from some element and returns the value.
-
-