🐛 Fix broken change detection
[rhynodge.git] / src / main / java / net / pterodactylus / rhynodge / output / Output.java
index dc058bb..3e9d904 100644 (file)
 
 package net.pterodactylus.rhynodge.output;
 
-import net.pterodactylus.rhynodge.Trigger;
+import net.pterodactylus.rhynodge.State;
 
 /**
- * Defines the output of a {@link Trigger}. As different output has to be
- * generated for different media, the {@link #text(String, int)} method takes as
+ * Defines the output of a {@link State}. As different output has to be
+ * generated for different media, the {@link #text(String)} method takes as
  * an argument the MIME type of the desired output.
  *
  * @author <a href="mailto:bombe@pterodactylus.net">David â€˜Bombe’ Roden</a>
@@ -44,13 +44,10 @@ public interface Output {
         *
         * @param mimeType
         *            The MIME type of the text (“text/plain” and â€œtext/html” should
-        *            be supported by all {@link Trigger}s)
-        * @param maxLength
-        *            The maximum length of the returned text (may be &lt; {@code 0}
-        *            to indicate no length restriction)
+        *            be supported by all {@link State}s)
         * @return The text for the given MIME type, or {@code null} if there is no
         *         text defined for the given MIME type
         */
-       String text(String mimeType, int maxLength);
+       String text(String mimeType);
 
 }