All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.serenitybdd.screenplay.Consequence Maven / Gradle / Ivy

There is a newer version: 4.2.9
Show newest version
package net.serenitybdd.screenplay;

public interface Consequence {
    void evaluateFor(Actor actor);
    Consequence orComplainWith(Class complaintType);
    Consequence orComplainWith(Class complaintType, String complaintDetails);
    Consequence whenAttemptingTo(Performable performable);
    Consequence because(String explanation);

    /**
     * Evaluate the consequence only after performing the specified tasks.
     */
    Consequence after(Performable... setupActions);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy