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
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetKey()getType()booleanisFinal()booleanvoidsetDefaultValue(String defaultValue) voidsetFinal(boolean _final) voidsetTransient(boolean _transient) Returns the enum constant of this type with the specified name.static NuitonConfigExampleConfigOption[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FIRST_NAME
-
LAST_NAME
-
EMAIL
-
TWITTER
-
AGE
-
PREFERRED_FORMAT
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getKey
- Specified by:
getKeyin interfaceorg.nuiton.config.ConfigOptionDef
-
getType
- Specified by:
getTypein interfaceorg.nuiton.config.ConfigOptionDef
-
getDescription
- Specified by:
getDescriptionin interfaceorg.nuiton.config.ConfigOptionDef
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceorg.nuiton.config.ConfigOptionDef
-
setDefaultValue
- Specified by:
setDefaultValuein interfaceorg.nuiton.config.ConfigOptionDef
-
isTransient
public boolean isTransient()- Specified by:
isTransientin interfaceorg.nuiton.config.ConfigOptionDef
-
setTransient
public void setTransient(boolean _transient) - Specified by:
setTransientin interfaceorg.nuiton.config.ConfigOptionDef
-
isFinal
public boolean isFinal()- Specified by:
isFinalin interfaceorg.nuiton.config.ConfigOptionDef
-
setFinal
public void setFinal(boolean _final) - Specified by:
setFinalin interfaceorg.nuiton.config.ConfigOptionDef
-