Enum Class ConfigValue

java.lang.Object
java.lang.Enum<ConfigValue>
xericker.arenalegends.config.value.ConfigValue
All Implemented Interfaces:
Serializable, Comparable<ConfigValue>, Constable, xericker.xerlib.config.contract.ConfigValueProvider

public enum ConfigValue extends Enum<ConfigValue> implements xericker.xerlib.config.contract.ConfigValueProvider
  • Enum Constant Details

    • AUTO_DEFAULT_ITEMS

      public static final ConfigValue AUTO_DEFAULT_ITEMS
    • AUTO_DEFAULT_ITEM_SKINS

      public static final ConfigValue AUTO_DEFAULT_ITEM_SKINS
    • DB_ENABLED

      public static final ConfigValue DB_ENABLED
    • DB_URL

      public static final ConfigValue DB_URL
    • DB_MAXIMUM_POOL_SIZE

      public static final ConfigValue DB_MAXIMUM_POOL_SIZE
    • DB_MINIMUM_IDLE

      public static final ConfigValue DB_MINIMUM_IDLE
    • DB_MAX_LIFETIME

      public static final ConfigValue DB_MAX_LIFETIME
    • DB_IDLE_TIMEOUT

      public static final ConfigValue DB_IDLE_TIMEOUT
    • DB_CONNECTION_TIMEOUT

      public static final ConfigValue DB_CONNECTION_TIMEOUT
    • DB_LEAK_DETECTION_THRESHOLD

      public static final ConfigValue DB_LEAK_DETECTION_THRESHOLD
    • DB_AUTO_COMMIT

      public static final ConfigValue DB_AUTO_COMMIT
    • DB_HOST

      public static final ConfigValue DB_HOST
    • DB_PORT

      public static final ConfigValue DB_PORT
    • DB_NAME

      public static final ConfigValue DB_NAME
    • DB_USER

      public static final ConfigValue DB_USER
    • DB_PASS

      public static final ConfigValue DB_PASS
  • Method Details

    • values

      public static ConfigValue[] 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 ConfigValue 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
    • getPath

      public String getPath()
      Specified by:
      getPath in interface xericker.xerlib.config.contract.ConfigValueProvider
    • getConfigId

      public String getConfigId()
      Specified by:
      getConfigId in interface xericker.xerlib.config.contract.ConfigValueProvider