Enum NuitonConfigExampleConfigOption

java.lang.Object
java.lang.Enum<NuitonConfigExampleConfigOption>
org.nuiton.config.example.NuitonConfigExampleConfigOption
All Implemented Interfaces:
Serializable, Comparable<NuitonConfigExampleConfigOption>, java.lang.constant.Constable, org.nuiton.config.ConfigOptionDef

public enum NuitonConfigExampleConfigOption extends Enum<NuitonConfigExampleConfigOption> implements org.nuiton.config.ConfigOptionDef
  • Enum Constant Details

  • Method Details

    • values

      public static NuitonConfigExampleConfigOption[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static NuitonConfigExampleConfigOption valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getKey

      public String getKey()
      Specified by:
      getKey in interface org.nuiton.config.ConfigOptionDef
    • getType

      public Class getType()
      Specified by:
      getType in interface org.nuiton.config.ConfigOptionDef
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.nuiton.config.ConfigOptionDef
    • getDefaultValue

      public String getDefaultValue()
      Specified by:
      getDefaultValue in interface org.nuiton.config.ConfigOptionDef
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
      Specified by:
      setDefaultValue in interface org.nuiton.config.ConfigOptionDef
    • isTransient

      public boolean isTransient()
      Specified by:
      isTransient in interface org.nuiton.config.ConfigOptionDef
    • setTransient

      public void setTransient(boolean _transient)
      Specified by:
      setTransient in interface org.nuiton.config.ConfigOptionDef
    • isFinal

      public boolean isFinal()
      Specified by:
      isFinal in interface org.nuiton.config.ConfigOptionDef
    • setFinal

      public void setFinal(boolean _final)
      Specified by:
      setFinal in interface org.nuiton.config.ConfigOptionDef