X-Git-Url: https://git.pterodactylus.net/?p=rhynodge.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Freactor%2FAction.java;h=650c3adbc5306ffdb451bd2bf38698fd1dc2475a;hp=05b2c9e8a8c81e7c6928ed10548fdbbb4738d1a5;hb=9cd054fb2fec1c2a1f0f24b3b88f477720563094;hpb=50b03cf6c97a2f639e7630738f279eee17f670b6 diff --git a/src/main/java/net/pterodactylus/reactor/Action.java b/src/main/java/net/pterodactylus/reactor/Action.java index 05b2c9e..650c3ad 100644 --- a/src/main/java/net/pterodactylus/reactor/Action.java +++ b/src/main/java/net/pterodactylus/reactor/Action.java @@ -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,9 +30,9 @@ public interface Action { /** * Performs the action. * - * @param trigger - * The object that triggered the action + * @param output + * The output for the action */ - void execute(Object trigger); + void execute(Output output); }