java.lang.Object
java.lang.Enum<LanguageSetting>
com.winterhavenmc.library.messagebuilder.resources.language.LanguageSetting
All Implemented Interfaces:
Serializable, Comparable<LanguageSetting>, Constable

public enum LanguageSetting extends Enum<LanguageSetting>
Enum containing constants for various yaml parameters
  • Enum Constant Details

    • CONFIG_LANGUAGE_KEY

      public static final LanguageSetting CONFIG_LANGUAGE_KEY
    • CONFIG_LOCALE_KEY

      public static final LanguageSetting CONFIG_LOCALE_KEY
    • DEFAULT_LANGUAGE_TAG

      public static final LanguageSetting DEFAULT_LANGUAGE_TAG
    • RESOURCE_AUTO_INSTALL

      public static final LanguageSetting RESOURCE_AUTO_INSTALL
    • RESOURCE_SUBDIRECTORY

      public static final LanguageSetting RESOURCE_SUBDIRECTORY
    • RESOURCE_LANGUAGE_EN_US_YML

      public static final LanguageSetting RESOURCE_LANGUAGE_EN_US_YML
  • Method Details

    • values

      public static LanguageSetting[] 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 LanguageSetting 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<LanguageSetting>