Uses of Interface
net.serenitybdd.screenplay.Performable
-
Uses of Performable in net.serenitybdd.screenplay
Subinterfaces of Performable in net.serenitybdd.screenplay Modifier and Type Interface Description interfaceActionDeprecated.Use Interaction insteadinterfaceInteractionA marker class to indicate that a Performable represents a system interaction (action), rather than a business task.interfaceTaskA marker class to indicate that a Performable represents a higher level business task, rather than a system interaction.Classes in net.serenitybdd.screenplay that implement Performable Modifier and Type Class Description classAnonymousBackendTaskclassAnonymousInteractionclassAnonymousPerformableclassAnonymousPerformableFunctionclassAnonymousPerformableRunnableclassAnonymousTaskclassCompositePerformableclassForgetclassRememberThatA convenience method to allow an actor to remember things when performing tasks.static classRememberThat.WithQuestionstatic classRememberThat.WithValueclassSilentInteractionclassSilentPerformableFunctionMethods in net.serenitybdd.screenplay with type parameters of type Performable Modifier and Type Method Description <T extends Performable>
voidPerformsTasks. attemptsTo(T... todos)static <T extends Performable>
TTasks. instrumented(java.lang.Class<T> stepClass, java.lang.Object... parameters)static <T extends Performable>
TInstrumentedTask. of(T task)static <T extends Performable>
AnonymousPerformableRunnableTask. thatPerforms(java.lang.String title, java.lang.Runnable performableOperation)static <T extends Performable>
AnonymousTaskBackendTask. where(java.lang.String title, T... steps)static <T extends Performable>
AnonymousTaskBackendTask. where(T... steps)static <T extends Performable>
AnonymousTaskSilentTask. where(T... steps)static <T extends Performable>
AnonymousPerformableFunctionTask. where(java.lang.String title, java.util.function.Consumer<Actor> performableOperation)static <T extends Performable>
AnonymousTaskTask. where(java.lang.String title, T... steps)Methods in net.serenitybdd.screenplay that return Performable Modifier and Type Method Description PerformableIterate. forEach(java.util.function.BiConsumer<Actor,T> action)static PerformableCompositePerformable. from(Performable firstPerformable, Performable nextPerformable)default PerformablePerformable. then(Performable nextPerformable)Methods in net.serenitybdd.screenplay with parameters of type Performable Modifier and Type Method Description Consequence<T>BaseConsequence. after(Performable... actions)Consequence<T>Consequence. after(Performable... setupActions)Evaluate the consequence only after performing the specified tasks.Consequence<T>EventualConsequence. after(Performable... actions)voidActor. attemptsTo(Performable... tasks)<T extends Performable>
voidPerformsTasks. attemptsTo(T... todos)static InteractiveConsequenceInteractiveConsequence. attemptTo(Performable... actions)voidInParallel. eachAttemptTo(Performable... tasks)Have several actors perform a given task in parallel, for example:static PerformableCompositePerformable. from(Performable firstPerformable, Performable nextPerformable)voidActor. has(Performable... todos)static booleanSilentTasks. isSilent(Performable task)voidEventBusInterface. reportStepFailureFor(Performable todo, java.lang.Throwable e)voidEventBusInterface. reportStepSkippedFor(Performable todo)default PerformablePerformable. then(Performable nextPerformable)voidActor. wasAbleTo(Performable... todos)A tense-neutral synonym for addFact() for use with given() clausesConsequence<T>BaseConsequence. whenAttemptingTo(Performable performable)Consequence<T>Consequence. whenAttemptingTo(Performable performable)Consequence<T>EventualConsequence. whenAttemptingTo(Performable performable)static <T extends Performable>
AnonymousTaskBackendTask. where(java.lang.String title, T... steps)static <T extends Performable>
AnonymousTaskBackendTask. where(T... steps)static AnonymousInteractionInteraction. where(java.lang.String title, Performable... steps)static <T extends Performable>
AnonymousTaskSilentTask. where(T... steps)static <T extends Performable>
AnonymousTaskTask. where(java.lang.String title, T... steps)Method parameters in net.serenitybdd.screenplay with type arguments of type Performable Modifier and Type Method Description voidInParallel. eachAttemptTo(java.util.Collection<Performable> tasks)Constructors in net.serenitybdd.screenplay with parameters of type Performable Constructor Description InteractiveConsequence(Performable[] actions)Constructor parameters in net.serenitybdd.screenplay with type arguments of type Performable Constructor Description AnonymousBackendTask(java.lang.String title, java.util.List<Performable> steps)AnonymousInteraction(java.lang.String title, java.util.List<Performable> steps)AnonymousPerformable(java.lang.String title, java.util.List<Performable> steps)AnonymousTask(java.lang.String title, java.util.List<Performable> steps) -
Uses of Performable in net.serenitybdd.screenplay.actors
Methods in net.serenitybdd.screenplay.actors with parameters of type Performable Modifier and Type Method Description static voidOnStage. withCurrentActor(Performable... performTasks)A shorter version of "theActorInTheSpotlight().attemptsTo(...)" -
Uses of Performable in net.serenitybdd.screenplay.conditions
Classes in net.serenitybdd.screenplay.conditions that implement Performable Modifier and Type Class Description classConditionalPerformableclassConditionalPerformableOnBooleanclassConditionalPerformableOnQuestionclassSilentPerformableMethods in net.serenitybdd.screenplay.conditions with parameters of type Performable Modifier and Type Method Description ConditionalPerformableConditionalPerformable. andIfSo(Performable... taskToPerform)ConditionalPerformableConditionalPerformable. otherwise(Performable... taskToPerform) -
Uses of Performable in net.serenitybdd.screenplay.events
Methods in net.serenitybdd.screenplay.events that return Performable Modifier and Type Method Description PerformableActorPerforms. getPerformable()Constructors in net.serenitybdd.screenplay.events with parameters of type Performable Constructor Description ActorPerforms(Performable performable, java.lang.String actor) -
Uses of Performable in net.serenitybdd.screenplay.questions
Constructor parameters in net.serenitybdd.screenplay.questions with type arguments of type Performable Constructor Description QuestionWithDefinedSubject(Question<T> theQuestion, java.lang.String subject, java.util.List<Performable> predecingTasks) -
Uses of Performable in net.serenitybdd.screenplay.waits
Classes in net.serenitybdd.screenplay.waits that implement Performable Modifier and Type Class Description classWaitMethods in net.serenitybdd.screenplay.waits that return Performable Modifier and Type Method Description PerformableWithTimeUnits. milliseconds()PerformableWithTimeUnits. seconds()