public interface Consequence<T>
| Modifier and Type | Method and Description |
|---|---|
Consequence<T> |
after(Performable... setupActions)
Evaluate the consequence only after performing the specified tasks.
|
Consequence<T> |
because(String explanation) |
void |
evaluateFor(Actor actor) |
Consequence<T> |
orComplainWith(Class<? extends Error> complaintType) |
Consequence<T> |
orComplainWith(Class<? extends Error> complaintType,
String complaintDetails) |
Consequence<T> |
whenAttemptingTo(Performable performable) |
void evaluateFor(Actor actor)
Consequence<T> orComplainWith(Class<? extends Error> complaintType)
Consequence<T> orComplainWith(Class<? extends Error> complaintType, String complaintDetails)
Consequence<T> whenAttemptingTo(Performable performable)
Consequence<T> because(String explanation)
Consequence<T> after(Performable... setupActions)
Copyright © 2021. All rights reserved.