Ignore chains and states default directories.
[rhynodge.git] / src / main / java / net / pterodactylus / reactor / Action.java
index 9d743b2..650c3ad 100644 (file)
 
 package net.pterodactylus.reactor;
 
+import net.pterodactylus.reactor.output.Output;
+
 /**
  * An action is performed when a {@link Trigger} determines that two given
  * {@link State}s of a {@link Query} signify a change.
  *
- * @param <S>
- *            The type of the state
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
-public interface Action<S extends State> {
+public interface Action {
 
        /**
         * Performs the action.
         *
-        * @param currentState
-        *            The current state of a system
-        * @param previousState
-        *            The previous state of the system
+        * @param output
+        *            The output for the action
         */
-       void execute(S currentState, S previousState);
+       void execute(Output output);
 
 }