* 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 trigger
+ * The object that triggered the action
*/
- void execute(S currentState, S previousState);
+ void execute(Object trigger);
}