Class UIStateReaderBuilder<T>

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

@Deprecated
public class UIStateReaderBuilder<T>
extends java.lang.Object
Deprecated.
  • Constructor Summary

    Constructors 
    Constructor Description
    UIStateReaderBuilder​(Target target, java.lang.Class<T> type)
    Deprecated.
     
    UIStateReaderBuilder​(Target target, java.lang.Class<T> type, java.util.Optional<java.lang.String> optionalParameter)
    Deprecated.
     
  • Method Summary

    Modifier and Type Method Description
    Question<java.math.BigDecimal> asABigDecimal()
    Deprecated.
     
    Question<java.lang.Boolean> asABoolean()
    Deprecated.
     
    Question<java.util.Collection<java.lang.String>> asACollection()
    Deprecated.
    A convenience method to return a question about a target e.g.
    <E> Question<java.util.Collection<E>> asACollectionOf​(java.lang.Class<E> type)
    Deprecated.
     
    Question<java.time.LocalDate> asADate()
    Deprecated.
     
    Question<java.time.LocalDate> asADate​(java.lang.String format)
    Deprecated.
     
    Question<java.util.List<java.lang.String>> asAList()
    Deprecated.
     
    <E> Question<java.util.List<E>> asAListOf​(java.lang.Class<E> type)
    Deprecated.
     
    Question<java.lang.String> asAString()
    Deprecated.
    A convenience method to return a question about a target e.g.
    Question<java.lang.Double> asDouble()
    Deprecated.
     
    <T> Question<T> asEnum​(java.lang.Class<T> enumType)
    Deprecated.
     
    Question<java.lang.Float> asFloat()
    Deprecated.
     
    Question<java.lang.Integer> asInteger()
    Deprecated.
     
    Question<java.lang.Long> asLong()
    Deprecated.
     
    UIStateReaderBuilder<T> describedAs​(java.lang.String subject)
    Deprecated.
     
    <T> Question<T> map​(java.util.function.Function<java.lang.String,​T> transformer)
    Deprecated.
    Convert the value returned by a question to an arbitrary type
    T viewedBy​(Actor actor)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UIStateReaderBuilder

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

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

    • describedAs

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

      public <T> Question<T> map​(java.util.function.Function<java.lang.String,​T> transformer)
      Deprecated.
      Convert the value returned by a question to an arbitrary type
      Returns:
    • asAString

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

      public Question<java.time.LocalDate> asADate()
      Deprecated.
    • asADate

      public Question<java.time.LocalDate> asADate​(java.lang.String format)
      Deprecated.
    • asABigDecimal

      public Question<java.math.BigDecimal> asABigDecimal()
      Deprecated.
    • asABoolean

      public Question<java.lang.Boolean> asABoolean()
      Deprecated.
    • asDouble

      public Question<java.lang.Double> asDouble()
      Deprecated.
    • asFloat

      public Question<java.lang.Float> asFloat()
      Deprecated.
    • asLong

      public Question<java.lang.Long> asLong()
      Deprecated.
    • asInteger

      public Question<java.lang.Integer> asInteger()
      Deprecated.
    • asEnum

      public <T> Question<T> asEnum​(java.lang.Class<T> enumType)
      Deprecated.
    • asACollection

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

      public <E> Question<java.util.Collection<E>> asACollectionOf​(java.lang.Class<E> type)
      Deprecated.
    • asAList

      public Question<java.util.List<java.lang.String>> asAList()
      Deprecated.
    • asAListOf

      public <E> Question<java.util.List<E>> asAListOf​(java.lang.Class<E> type)
      Deprecated.
    • viewedBy

      public T viewedBy​(Actor actor)
      Deprecated.