Uses of Interface
net.serenitybdd.screenplay.Consequence
Packages that use Consequence
Package
Description
-
Uses of Consequence in net.serenitybdd.screenplay
Classes in net.serenitybdd.screenplay that implement ConsequenceModifier and TypeClassDescriptionclassclassclassclassclassMethods in net.serenitybdd.screenplay that return ConsequenceModifier and TypeMethodDescriptionBaseConsequence.after(Performable... actions) Consequence.after(Performable... setupActions) Evaluate the consequence only after performing the specified tasks.EventualConsequence.after(Performable... actions) FailedConsequence.getConsequence()EventualConsequence.ignoringExceptions(Class<? extends Throwable>... exceptionsToIgnore) Consequence.orComplainWith(Class<? extends Error> complaintType) Consequence.orComplainWith(Class<? extends Error> complaintType, String complaintDetails) EventualConsequence.orComplainWith(Class<? extends Error> complaintType) EventualConsequence.orComplainWith(Class<? extends Error> complaintType, String complaintDetails) static <T> Consequence<T> static <T> Consequence<T> GivenWhenThen.seeThat(String subject, Question<? extends T> actual, org.hamcrest.Matcher<T> expected) static <T> Consequence<T>[]GivenWhenThen.seeThat(String subject, Question<? extends T> actual, org.hamcrest.Matcher<T>... expectedMatchers) static <T> Consequence<T> static <T> Consequence<T> static <T> Consequence<T> static <T> Consequence<T>[]static <T> Consequence<T> <T> Consequence<T> InteractiveConsequence.thenCheckThat(Question<? extends T> actual, org.hamcrest.Matcher<T> expected) BaseConsequence.whenAttemptingTo(Performable performable) Consequence.whenAttemptingTo(Performable performable) EventualConsequence.whenAttemptingTo(Performable performable) Methods in net.serenitybdd.screenplay with parameters of type ConsequenceModifier and TypeMethodDescriptionfinal voidActor.can(Consequence<?>... consequences) static <T> EventualConsequence<T> EventualConsequence.eventually(Consequence<T> consequenceThatMightTakeSomeTime) <T> voidEventBusInterface.reportStepFailureFor(Consequence<T> consequence, Throwable e) final voidActor.should(String groupStepName, Consequence<?>... consequences) final voidActor.should(Consequence<?>... consequences) Method parameters in net.serenitybdd.screenplay with type arguments of type ConsequenceConstructors in net.serenitybdd.screenplay with parameters of type ConsequenceModifierConstructorDescriptionEventualConsequence(Consequence<T> consequenceThatMightTakeSomeTime) EventualConsequence(Consequence<T> consequenceThatMightTakeSomeTime, long timeoutInMilliseconds) EventualConsequence(Consequence<T> consequenceThatMightTakeSomeTime, long timeoutInMilliseconds, boolean isSilent) EventualConsequenceBuilder(Consequence consequence, long amount) FailedConsequence(Consequence consequence, Throwable cause) -
Uses of Consequence in net.serenitybdd.screenplay.formatting
Methods in net.serenitybdd.screenplay.formatting with parameters of type ConsequenceModifier and TypeMethodDescription<T> StringFormattedTitle.getFormattedTitleFor(Consequence<T> consequence) static <T> StringFormattedTitle.ofConsequence(Consequence<T> consequence, Actor actor) -
Uses of Consequence in net.serenitybdd.screenplay.questions
Classes in net.serenitybdd.screenplay.questions that implement Consequence