Class OnStage

java.lang.Object
net.serenitybdd.screenplay.actors.OnStage

public class OnStage
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    OnStage()  
  • Method Summary

    Modifier and Type Method Description
    static Actor aNewActor()  
    static void drawTheCurtain()  
    static Stage setTheStage​(Cast cast)
    Set the stage before calling the actors
    static Actor theActor​(java.lang.String actorName)
    A shorter version of "theActorCalled()"
    static Actor theActorCalled​(java.lang.String requiredActor)  
    static Actor theActorInTheSpotlight()  
    static void withCurrentActor​(Performable... performTasks)
    A shorter version of "theActorInTheSpotlight().attemptsTo(...)"

    Methods inherited from class java.lang.Object

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

    • OnStage

      public OnStage()
  • Method Details

    • setTheStage

      public static Stage setTheStage​(Cast cast)
      Set the stage before calling the actors
    • theActorCalled

      public static Actor theActorCalled​(java.lang.String requiredActor)
    • aNewActor

      public static Actor aNewActor()
    • theActor

      public static Actor theActor​(java.lang.String actorName)
      A shorter version of "theActorCalled()"
    • theActorInTheSpotlight

      public static Actor theActorInTheSpotlight()
    • withCurrentActor

      public static void withCurrentActor​(Performable... performTasks)
      A shorter version of "theActorInTheSpotlight().attemptsTo(...)"
    • drawTheCurtain

      public static void drawTheCurtain()