Class UIStateReaderBuilder<T>

java.lang.Object
net.serenitybdd.screenplay.questions.UIStateReaderBuilder<T>
Direct Known Subclasses:
NamedUIStateReaderBuilder

@Deprecated public class UIStateReaderBuilder<T> extends Object
Deprecated.
  • Constructor Details

    • UIStateReaderBuilder

      public UIStateReaderBuilder(Target target, Class<T> type)
      Deprecated.
    • UIStateReaderBuilder

      public UIStateReaderBuilder(Target target, Class<T> type, Optional<String> optionalParameter)
      Deprecated.
  • Method Details

    • describedAs

      public UIStateReaderBuilder<T> describedAs(String subject)
      Deprecated.
    • map

      public <T> net.serenitybdd.screenplay.Question<T> map(Function<String,T> transformer)
      Deprecated.
      Convert the value returned by a question to an arbitrary type
      Returns:
    • asAString

      public net.serenitybdd.screenplay.Question<String> asAString()
      Deprecated.
      A convenience method to return a question about a target e.g. Text.of(VetList.VET_NAME).asAString()
    • asADate

      public net.serenitybdd.screenplay.Question<LocalDate> asADate()
      Deprecated.
    • asADate

      public net.serenitybdd.screenplay.Question<LocalDate> asADate(String format)
      Deprecated.
    • asABigDecimal

      public net.serenitybdd.screenplay.Question<BigDecimal> asABigDecimal()
      Deprecated.
    • asABoolean

      public net.serenitybdd.screenplay.Question<Boolean> asABoolean()
      Deprecated.
    • asDouble

      public net.serenitybdd.screenplay.Question<Double> asDouble()
      Deprecated.
    • asFloat

      public net.serenitybdd.screenplay.Question<Float> asFloat()
      Deprecated.
    • asLong

      public net.serenitybdd.screenplay.Question<Long> asLong()
      Deprecated.
    • asInteger

      public net.serenitybdd.screenplay.Question<Integer> asInteger()
      Deprecated.
    • asEnum

      public <T> net.serenitybdd.screenplay.Question<T> asEnum(Class<T> enumType)
      Deprecated.
    • asACollection

      public net.serenitybdd.screenplay.Question<Collection<String>> asACollection()
      Deprecated.
      A convenience method to return a question about a target e.g. Text.of(VetList.VET_NAME).asACollection()
    • asACollectionOf

      public <E> net.serenitybdd.screenplay.Question<Collection<E>> asACollectionOf(Class<E> type)
      Deprecated.
    • asAList

      public net.serenitybdd.screenplay.Question<List<String>> asAList()
      Deprecated.
    • asAListOf

      public <E> net.serenitybdd.screenplay.Question<List<E>> asAListOf(Class<E> type)
      Deprecated.
    • viewedBy

      public T viewedBy(net.serenitybdd.screenplay.Actor actor)
      Deprecated.