Enum Class InputMessage

java.lang.Object
java.lang.Enum<InputMessage>
io.github.lucfr1746.llibrary.chatinput.input.enums.InputMessage
All Implemented Interfaces:
Serializable, Comparable<InputMessage>, Constable

public enum InputMessage extends Enum<InputMessage>
An enum of the available messages for the input prompt.
  • Enum Constant Details

    • PROMPT

      public static final InputMessage PROMPT
    • INVALID_INPUT

      public static final InputMessage INVALID_INPUT
    • DISABLED_COMMANDS

      public static final InputMessage DISABLED_COMMANDS
    • DISABLED_MOVEMENT

      public static final InputMessage DISABLED_MOVEMENT
    • DISABLED_INTERACTION

      public static final InputMessage DISABLED_INTERACTION
    • TIMEOUT

      public static final InputMessage TIMEOUT
    • SUCCESS

      public static final InputMessage SUCCESS
  • Method Details

    • values

      public static InputMessage[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static InputMessage valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null