X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Freactor%2FAction.java;h=650c3adbc5306ffdb451bd2bf38698fd1dc2475a;hb=13a4fe6bece23b3dd561de657cf9bb7ea307e2b6;hp=05b2c9e8a8c81e7c6928ed10548fdbbb4738d1a5;hpb=da24ae72789e842a3dc66444a69f3ff547e83a00;p=rhynodge.git 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); }