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 Type Method Description Consequence<T>after(Performable... setupActions)Evaluate the consequence only after performing the specified tasks.Consequence<T>because(java.lang.String explanation)voidevaluateFor(Actor actor)Consequence<T>orComplainWith(java.lang.Class<? extends java.lang.Error> complaintType)Consequence<T>orComplainWith(java.lang.Class<? extends java.lang.Error> complaintType, java.lang.String complaintDetails)Consequence<T>whenAttemptingTo(Performable performable)
-
Method Details
-
evaluateFor
-
orComplainWith
-
orComplainWith
Consequence<T> orComplainWith(java.lang.Class<? extends java.lang.Error> complaintType, java.lang.String complaintDetails) -
whenAttemptingTo
-
because
-
after
Evaluate the consequence only after performing the specified tasks.
-