package net.pterodactylus.reactor;
+import net.pterodactylus.reactor.output.Output;
import net.pterodactylus.reactor.states.FileState;
/**
*/
boolean triggers(State currentState, State previousState);
+ /**
+ * Returns the output of this trigger. This will only return a meaningful
+ * value if {@link #triggers(State, State)} returns {@code true}.
+ *
+ * @param reaction
+ * The reaction being triggered
+ * @return The output of this trigger
+ */
+ Output output(Reaction reaction);
+
}