Uses of Class
net.serenitybdd.screenplay.Actor
-
Uses of Actor in net.serenitybdd.screenplay
Methods in net.serenitybdd.screenplay with type parameters of type Actor Modifier and Type Method Description <T extends Actor>
voidAnonymousPerformable. performAs(T actor)<T extends Actor>
voidAnonymousPerformableFunction. performAs(T actor)<T extends Actor>
voidAnonymousPerformableRunnable. performAs(T actor)<T extends Actor>
voidCompositePerformable. performAs(T actor)<T extends Actor>
voidForget. performAs(T actor)<T extends Actor>
voidPerformable. performAs(T actor)<T extends Actor>
voidRememberThat.WithQuestion. performAs(T actor)<T extends Actor>
voidRememberThat.WithValue. performAs(T actor)<T extends Actor>
voidSilentPerformableFunction. performAs(T actor)Methods in net.serenitybdd.screenplay that return Actor Modifier and Type Method Description static ActorGivenWhenThen. and(Actor actor)static ActorGivenWhenThen. andThat(Actor actor)static ActorGivenWhenThen. but(Actor actor)<T extends Ability>
ActorActor. can(T doSomething)ActorActor. describedAs(java.lang.String description)static ActorActor. named(java.lang.String name)static ActorGivenWhenThen. then(Actor actor)ActorActor. usingPronoun(java.lang.String pronoun)static ActorGivenWhenThen. when(Actor actor)<T extends Ability>
ActorActor. whoCan(T doSomething)ActorActor. withNoPronoun()Methods in net.serenitybdd.screenplay with parameters of type Actor Modifier and Type Method Description static ActorGivenWhenThen. and(Actor actor)static ActorGivenWhenThen. andThat(Actor actor)ANSWERQuestion. answeredBy(Actor actor)<T extends Ability>
TRefersToActor. asActor(Actor actor)voidEventBusInterface. assignAbilityToActor(Actor actor, java.lang.String ability)voidEventBusInterface. assignFactToActor(Actor actor, java.lang.String fact)voidActor. brief(Actor otherActor)Add all the remembered items for the current actor to the other actor's memorystatic ActorGivenWhenThen. but(Actor actor)voidBooleanQuestionConsequence. evaluateFor(Actor actor)voidConsequence. evaluateFor(Actor actor)voidEventualConsequence. evaluateFor(Actor actor)voidPredicateConsequence. evaluateFor(Actor actor)voidQuestionConsequence. evaluateFor(Actor actor)static UseAnAbilityUseAnAbility. of(Actor actor)protected voidBaseConsequence. performSetupActionsAs(Actor actor)protected voidEventualConsequence. performSetupActionsAs(Actor actor)static InParallelInParallel. theActors(Actor... actors)Perform the specified tasks in parallel.static ActorGivenWhenThen. then(Actor actor)static ActorGivenWhenThen. when(Actor actor)Method parameters in net.serenitybdd.screenplay with type arguments of type Actor Modifier and Type Method Description PerformableIterate. forEach(java.util.function.BiConsumer<Actor,T> action)static InParallelInParallel. theActors(java.util.Collection<Actor> actors)static <T extends Performable>
AnonymousPerformableFunctionTask. where(java.lang.String title, java.util.function.Consumer<Actor> performableOperation)Constructor parameters in net.serenitybdd.screenplay with type arguments of type Actor Constructor Description AnonymousPerformableFunction(java.lang.String title, java.util.function.Consumer<Actor> actions)SilentPerformableFunction(java.util.function.Consumer<Actor> actions) -
Uses of Actor in net.serenitybdd.screenplay.actors
Methods in net.serenitybdd.screenplay.actors that return Actor Modifier and Type Method Description ActorCast. actorNamed(java.lang.String actorName, Ability... abilities)static ActorOnStage. aNewActor()Create a new actor whose name is not yet known.ActorStage. shineSpotlightOn(java.lang.String actorName)Place an actor with a given name in the spotlight, without the intent to have them perform an action at this time.static ActorOnStage. theActor(java.lang.String actorName)A shorter version of "theActorCalled()"ActorStage. theActor()A shortened form of theActorInTheSpotight()static ActorOnStage. theActorCalled(java.lang.String requiredActor)Returns an actor with a given name, creating a new actor if the actor is not already on stage.static ActorOnStage. theActorInTheSpotlight()The actor in the spotlight is the last actor on the stage who has performed any activity.ActorStage. theActorInTheSpotlight()Return the current actor in the spotlight.Methods in net.serenitybdd.screenplay.actors that return types with arguments of type Actor Modifier and Type Method Description java.util.List<Actor>Cast. getActors()Methods in net.serenitybdd.screenplay.actors with parameters of type Actor Modifier and Type Method Description protected voidCast. assignGeneralAbilitiesTo(Actor newActor) -
Uses of Actor in net.serenitybdd.screenplay.conditions
Methods in net.serenitybdd.screenplay.conditions with type parameters of type Actor Modifier and Type Method Description <T extends Actor>
voidConditionalPerformable. performAs(T actor)<T extends Actor>
voidSilentPerformable. performAs(T actor)Methods in net.serenitybdd.screenplay.conditions with parameters of type Actor Modifier and Type Method Description protected abstract java.lang.BooleanConditionalPerformable. evaluatedConditionFor(Actor actor)protected java.lang.BooleanConditionalPerformableOnBoolean. evaluatedConditionFor(Actor actor)protected java.lang.BooleanConditionalPerformableOnQuestion. evaluatedConditionFor(Actor actor) -
Uses of Actor in net.serenitybdd.screenplay.facts
Methods in net.serenitybdd.screenplay.facts with parameters of type Actor Modifier and Type Method Description voidFact. setup(Actor actor)default voidFact. teardown(Actor actor)Constructors in net.serenitybdd.screenplay.facts with parameters of type Actor Constructor Description FactLifecycleListener(Actor actor, Fact fact) -
Uses of Actor in net.serenitybdd.screenplay.formatting
Methods in net.serenitybdd.screenplay.formatting with parameters of type Actor Modifier and Type Method Description static <T> java.lang.StringFormattedTitle. ofConsequence(Consequence<T> consequence, Actor actor)Constructors in net.serenitybdd.screenplay.formatting with parameters of type Actor Constructor Description FormattedTitle(EnvironmentVariables environmentVariables, Actor actor) -
Uses of Actor in net.serenitybdd.screenplay.questions
Methods in net.serenitybdd.screenplay.questions with parameters of type Actor Modifier and Type Method Description java.lang.IntegerCountQuestion. answeredBy(Actor actor)TMaxQuestion. answeredBy(Actor actor)TMinQuestion. answeredBy(Actor actor)TQuestionWithDefinedSubject. answeredBy(Actor actor)TRemembered. answeredBy(Actor actor)java.util.List<T>ReverseQuestion. answeredBy(Actor actor)java.util.List<T>SortedQuestion. answeredBy(Actor actor)java.lang.IntegerSumQuestion. answeredBy(Actor actor)java.lang.BooleanTheMemory. answeredBy(Actor actor)voidConsequenceGroup. evaluateFor(Actor actor) -
Uses of Actor in net.serenitybdd.screenplay.waits
Methods in net.serenitybdd.screenplay.waits with type parameters of type Actor Modifier and Type Method Description <T extends Actor>
voidWait. performAs(T actor)