Enum Class Message

java.lang.Object
java.lang.Enum<Message>
simplexity.scythe.config.Message
All Implemented Interfaces:
Serializable, Comparable<Message>, Constable

public enum Message extends Enum<Message>
  • Enum Constant Details

    • CONSOLE_PREFIX

      public static final Message CONSOLE_PREFIX
    • PREFIX

      public static final Message PREFIX
    • TOGGLE_ON

      public static final Message TOGGLE_ON
    • TOGGLE_OFF

      public static final Message TOGGLE_OFF
    • UNKNOWN_COMMAND

      public static final Message UNKNOWN_COMMAND
    • CONFIG_RELOAD

      public static final Message CONFIG_RELOAD
    • NO_PERMISSION

      public static final Message NO_PERMISSION
    • NOT_A_PLAYER

      public static final Message NOT_A_PLAYER
    • HELP_MAIN

      public static final Message HELP_MAIN
    • HELP_TOGGLE

      public static final Message HELP_TOGGLE
    • HELP_RELOAD

      public static final Message HELP_RELOAD
  • Method Details

    • values

      public static Message[] 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 Message 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
    • getMessage

      public String getMessage()
    • reloadMessages

      public static void reloadMessages()