From c73192d447550854243e020c506d3ad9f0f1713f Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 2 Jan 2013 02:39:22 +0100 Subject: [PATCH] Add package documentation. --- .../net/pterodactylus/reactor/package-info.java | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/main/java/net/pterodactylus/reactor/package-info.java diff --git a/src/main/java/net/pterodactylus/reactor/package-info.java b/src/main/java/net/pterodactylus/reactor/package-info.java new file mode 100644 index 0000000..6edf13b --- /dev/null +++ b/src/main/java/net/pterodactylus/reactor/package-info.java @@ -0,0 +1,25 @@ +/** + * Reactor main definitions. + *

+ * A Reactor chain consists of three different elements: a + * {@link net.pterodactylus.reactor.Query}, a + * {@link net.pterodactylus.reactor.Trigger}, and an + * {@link net.pterodactylus.reactor.Action}. + *

+ * A {@code Query} retrieves the current state of a system; this can simply be + * the current state of a local file, or it can be the last tweet of a certain + * Twitter account, or it can be anything inbetween, or something completely + * different. + *

+ * After a {@code Query} retrieved the current + * {@link net.pterodactylus.reactor.State} of a system, this state and the + * previously retrieved state are handed in to a {@code Trigger}. The trigger + * then decides whether the state of the system can be considered a change. + *

+ * If a system has been found to trigger, an {@code Action} is executed. It + * performs arbitrary actions and can use both the current state and the + * previous state to define that action. + */ + +package net.pterodactylus.reactor; + -- 2.7.4