🐛 Fix broken change detection
[rhynodge.git] / src / main / java / net / pterodactylus / rhynodge / package-info.java
index 2e7d9df..a58164d 100644 (file)
@@ -3,7 +3,7 @@
  * <p>
  * A {@link net.pterodactylus.rhynodge.Reaction} consists of three different
  * elements: a {@link net.pterodactylus.rhynodge.Query}, a
- * {@link net.pterodactylus.rhynodge.Trigger}, and an
+ * {@link net.pterodactylus.rhynodge.Merger}, and an
  * {@link net.pterodactylus.rhynodge.Action}.
  * <p>
  * A {@code Query} retrieves the current state of a system; this can simply be
  * <p>
  * After a {@code Query} retrieved the current
  * {@link net.pterodactylus.rhynodge.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.
+ * previously retrieved state are handed in to a {@code Merger}. The merger
+ * takes care of merging the two states in a way that the new state can
+ * {@link net.pterodactylus.rhynodge.State#triggered() decide} whether a
+ * noteworthy change has occured.
  * <p>
  * 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