net.serenitybdd.screenplay.Consequence Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serenity-journey Show documentation
Show all versions of serenity-journey Show documentation
Support for the User Journey pattern in Serenity
package net.serenitybdd.screenplay;
public interface Consequence {
void evaluateFor(Actor actor);
Consequence orComplainWith(Class extends Error> complaintType);
Consequence orComplainWith(Class extends Error> complaintType, String complaintDetails);
}