Enum Class ValueKind

java.lang.Object
java.lang.Enum<ValueKind>
my.celium.org.config.ValueKind
All Implemented Interfaces:
Serializable, Comparable<ValueKind>, Constable

public enum ValueKind extends Enum<ValueKind>
The kind of a ConfigValue; used by persistence and the config screen.
  • Enum Constant Details

    • BOOLEAN

      public static final ValueKind BOOLEAN
    • INTEGER

      public static final ValueKind INTEGER
    • LONG

      public static final ValueKind LONG
    • DOUBLE

      public static final ValueKind DOUBLE
    • STRING

      public static final ValueKind STRING
    • ENUM

      public static final ValueKind ENUM
    • STRING_LIST

      public static final ValueKind STRING_LIST
  • Method Details

    • values

      public static ValueKind[] 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 ValueKind 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