Package net.serenitybdd.screenplay
Interface Consequence<T>
- All Known Implementing Classes:
BaseConsequence,BooleanQuestionConsequence,ConsequenceGroup,EventualConsequence,PredicateConsequence,QuestionConsequence
public interface Consequence<T>
-
Method Summary
Modifier and TypeMethodDescriptionafter(Performable... setupActions) Evaluate the consequence only after performing the specified tasks.voidevaluateFor(Actor actor) orComplainWith(Class<? extends Error> complaintType) orComplainWith(Class<? extends Error> complaintType, String complaintDetails) whenAttemptingTo(Performable performable)
-
Method Details
-
evaluateFor
-
orComplainWith
-
orComplainWith
-
whenAttemptingTo
-
because
-
after
Evaluate the consequence only after performing the specified tasks.
-