From: David ‘Bombe’ Roden Date: Wed, 2 Jan 2013 01:39:22 +0000 (+0100) Subject: Add package documentation. X-Git-Tag: 0.1~125 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=c73192d447550854243e020c506d3ad9f0f1713f;p=rhynodge.git Add package documentation. --- 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; +