Uses of Class
net.serenitybdd.screenplay.Actor
Packages that use Actor
Package
Description
-
Uses of Actor in net.serenitybdd.screenplay
Methods in net.serenitybdd.screenplay with type parameters of type ActorModifier and TypeMethodDescription<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 ActorModifier and TypeMethodDescriptionstatic Actorstatic Actorstatic ActorActor.can(T doSomething) Actor.describedAs(String description) static ActorCreate a new actor with a given name.static ActorActor.usingPronoun(String pronoun) static ActorActor.whoCan(T doSomething) Assign an ability to an actor.Actor.withNoPronoun()Methods in net.serenitybdd.screenplay with parameters of type ActorModifier and TypeMethodDescriptionstatic Actorstatic ActorQuestion.answeredBy(Actor actor) <T extends Ability>
TvoidEventBusInterface.assignAbilityToActor(Actor actor, String ability) voidEventBusInterface.assignFactToActor(Actor actor, String fact) voidAdd all the remembered items for the current actor to the other actor's memorystatic ActorvoidBooleanQuestionConsequence.evaluateFor(Actor actor) voidConsequence.evaluateFor(Actor actor) voidEventualConsequence.evaluateFor(Actor actor) voidPredicateConsequence.evaluateFor(Actor actor) voidQuestionConsequence.evaluateFor(Actor actor) static UseAnAbilityprotected voidBaseConsequence.performSetupActionsAs(Actor actor) protected voidEventualConsequence.performSetupActionsAs(Actor actor) static InParallelPerform the specified tasks in parallel.static Actorstatic ActorMethod parameters in net.serenitybdd.screenplay with type arguments of type ActorModifier and TypeMethodDescriptionIterate.forEach(BiConsumer<Actor, T> action) static InParallelInParallel.theActors(Collection<Actor> actors) Useful if you have a collection or cast of actors.static AnonymousInteractionstatic <T extends Performable>
AnonymousPerformableFunctionstatic <T extends Performable>
AnonymousPerformableFunctionConstructor parameters in net.serenitybdd.screenplay with type arguments of type ActorModifierConstructorDescriptionAnonymousPerformableFunction(String title, Consumer<Actor> actions) SilentPerformableFunction(Consumer<Actor> actions) -
Uses of Actor in net.serenitybdd.screenplay.actors
Methods in net.serenitybdd.screenplay.actors that return ActorModifier and TypeMethodDescriptionCast.actorNamed(String actorName, Ability... abilities) static ActorOnStage.aNewActor()Create a new actor whose name is not yet known.Stage.shineSpotlightOn(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 ActorA shorter version of "theActorCalled()"Stage.theActor()A shortened form of theActorInTheSpotight()static ActorOnStage.theActorCalled(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.Stage.theActorInTheSpotlight()Return the current actor in the spotlight.Methods in net.serenitybdd.screenplay.actors that return types with arguments of type ActorMethods in net.serenitybdd.screenplay.actors with parameters of type Actor -
Uses of Actor in net.serenitybdd.screenplay.conditions
Methods in net.serenitybdd.screenplay.conditions with type parameters of type ActorModifier and TypeMethodDescription<T extends Actor>
voidConditionalPerformable.performAs(T actor) <T extends Actor>
voidSilentPerformable.performAs(T actor) Methods in net.serenitybdd.screenplay.conditions with parameters of type ActorModifier and TypeMethodDescriptionprotected abstract BooleanConditionalPerformable.evaluatedConditionFor(Actor actor) protected BooleanConditionalPerformableOnBoolean.evaluatedConditionFor(Actor actor) protected BooleanConditionalPerformableOnQuestion.evaluatedConditionFor(Actor actor) -
Uses of Actor in net.serenitybdd.screenplay.facts
Methods in net.serenitybdd.screenplay.facts with parameters of type ActorModifier and TypeMethodDescriptionvoiddefault voidConstructors in net.serenitybdd.screenplay.facts with parameters of type Actor -
Uses of Actor in net.serenitybdd.screenplay.formatting
Methods in net.serenitybdd.screenplay.formatting with parameters of type ActorModifier and TypeMethodDescriptionstatic <T> StringFormattedTitle.ofConsequence(Consequence<T> consequence, Actor actor) Constructors in net.serenitybdd.screenplay.formatting with parameters of type ActorModifierConstructorDescriptionFormattedTitle(net.thucydides.model.util.EnvironmentVariables environmentVariables, Actor actor) -
Uses of Actor in net.serenitybdd.screenplay.questions
Methods in net.serenitybdd.screenplay.questions with parameters of type ActorModifier and TypeMethodDescriptionCountQuestion.answeredBy(Actor actor) MaxQuestion.answeredBy(Actor actor) MinQuestion.answeredBy(Actor actor) QuestionWithDefinedSubject.answeredBy(Actor actor) Remembered.answeredBy(Actor actor) ReverseQuestion.answeredBy(Actor actor) SortedQuestion.answeredBy(Actor actor) SumQuestion.answeredBy(Actor actor) TheMemory.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