Enum Class DefaultConfig.Option

java.lang.Object
java.lang.Enum<DefaultConfig.Option>
nl.mtvehicles.core.infrastructure.dataconfig.DefaultConfig.Option
All Implemented Interfaces:
Serializable, Comparable<DefaultConfig.Option>, Constable
Enclosing class:
DefaultConfig

public static enum DefaultConfig.Option extends Enum<DefaultConfig.Option>
Options available in MTV's default configuration file (config.yml)
  • Enum Constant Details

  • Method Details

    • values

      public static DefaultConfig.Option[] 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 DefaultConfig.Option 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
    • getDefaultValue

      public Object getDefaultValue()
      Get default value of option
      Returns:
      Default value of option
    • getPath

      public String getPath()
      Get string path of option
      Returns:
      Path of option
    • getValueType

      public Type getValueType()
      Get (default) type of option
      Returns:
      Default type of option