package net.pterodactylus.rhynodge;
+import javax.annotation.Nonnull;
+
+import net.pterodactylus.rhynodge.output.Output;
+
/**
* Defines the current state of a system.
*
*/
boolean success();
+ boolean isEmpty();
+
/**
* Returns the number of consecutive failures. This method only returns a
* meaningful number iff {@link #success()} returns {@code false}. If
*/
Throwable exception();
+ @Nonnull
+ Output output(Reaction reaction);
+
}