Enum Class MurmelMessage

java.lang.Object
java.lang.Enum<MurmelMessage>
de.murmelmeister.murmelapi.language.message.MurmelMessage
All Implemented Interfaces:
Serializable, Comparable<MurmelMessage>, Constable

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

    • TIME_SECOND_SINGULAR

      public static final MurmelMessage TIME_SECOND_SINGULAR
    • TIME_SECOND_PLURAL

      public static final MurmelMessage TIME_SECOND_PLURAL
    • TIME_MINUTE_SINGULAR

      public static final MurmelMessage TIME_MINUTE_SINGULAR
    • TIME_MINUTE_PLURAL

      public static final MurmelMessage TIME_MINUTE_PLURAL
    • TIME_HOUR_SINGULAR

      public static final MurmelMessage TIME_HOUR_SINGULAR
    • TIME_HOUR_PLURAL

      public static final MurmelMessage TIME_HOUR_PLURAL
    • TIME_DAY_SINGULAR

      public static final MurmelMessage TIME_DAY_SINGULAR
    • TIME_DAY_PLURAL

      public static final MurmelMessage TIME_DAY_PLURAL
    • TIME_YEAR_SINGULAR

      public static final MurmelMessage TIME_YEAR_SINGULAR
    • TIME_YEAR_PLURAL

      public static final MurmelMessage TIME_YEAR_PLURAL
    • DATE_TIME_FORMAT

      public static final MurmelMessage DATE_TIME_FORMAT
  • Field Details

  • Constructor Details

  • Method Details

    • values

      public static MurmelMessage[] 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 MurmelMessage 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
    • getTag

      public String getTag()
    • getMessages

      public Map<Integer,String> getMessages()
    • loadMessages

      public static void loadMessages(MessageProvider provider)