Ignore chains and states default directories.
[rhynodge.git] / src / main / java / net / pterodactylus / reactor / Action.java
index 5c6a13f..650c3ad 100644 (file)
@@ -17,6 +17,8 @@
 
 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.
@@ -28,11 +30,9 @@ 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(State currentState, State previousState);
+       void execute(Output output);
 
 }