Class UIStateReaderBuilder<T>
- java.lang.Object
-
- net.serenitybdd.screenplay.questions.UIStateReaderBuilder<T>
-
- Direct Known Subclasses:
NamedUIStateReaderBuilder
public class UIStateReaderBuilder<T> extends Object
-
-
Constructor Summary
Constructors Constructor Description UIStateReaderBuilder(Target target, Class<T> type)UIStateReaderBuilder(Target target, Class<T> type, Optional<String> optionalParameter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Question<BigDecimal>asABigDecimal()Question<Boolean>asABoolean()Question<Collection<String>>asACollection()A convenience method to return a question about a target e.g.<E> Question<Collection<E>>asACollectionOf(Class<E> type)Question<LocalDate>asADate()Question<LocalDate>asADate(String format)Question<List<String>>asAList()<E> Question<List<E>>asAListOf(Class<E> type)Question<String>asAString()A convenience method to return a question about a target e.g.Question<Double>asDouble()<T> Question<T>asEnum(Class<T> enumType)Question<Float>asFloat()Question<Integer>asInteger()Question<Long>asLong()UIStateReaderBuilder<T>describedAs(String subject)TviewedBy(Actor actor)
-
-
-
Method Detail
-
describedAs
public UIStateReaderBuilder<T> describedAs(String subject)
-
asAString
public Question<String> asAString()
A convenience method to return a question about a target e.g. Text.of(VetList.VET_NAME).asAString()
-
asABigDecimal
public Question<BigDecimal> asABigDecimal()
-
asACollection
public Question<Collection<String>> asACollection()
A convenience method to return a question about a target e.g. Text.of(VetList.VET_NAME).asACollection()
-
asACollectionOf
public <E> Question<Collection<E>> asACollectionOf(Class<E> type)
-
-