Package org.nuiton.config.example
Enum NuitonConfigExampleConfigOption
java.lang.Object
java.lang.Enum<NuitonConfigExampleConfigOption>
org.nuiton.config.example.NuitonConfigExampleConfigOption
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NuitonConfigExampleConfigOption>,java.lang.constant.Constable,ConfigOptionDef
public enum NuitonConfigExampleConfigOption extends java.lang.Enum<NuitonConfigExampleConfigOption> implements ConfigOptionDef
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description AGEEMAILFIRST_NAMELAST_NAMEPREFERRED_FORMATTWITTER -
Method Summary
Modifier and Type Method Description java.lang.StringgetDefaultValue()java.lang.StringgetDescription()java.lang.StringgetKey()java.lang.ClassgetType()booleanisFinal()booleanisTransient()voidsetDefaultValue(java.lang.String defaultValue)voidsetFinal(boolean _final)voidsetTransient(boolean _transient)static NuitonConfigExampleConfigOptionvalueOf(java.lang.String name)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
-
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getKey
public java.lang.String getKey()- Specified by:
getKeyin interfaceConfigOptionDef
-
getType
public java.lang.Class getType()- Specified by:
getTypein interfaceConfigOptionDef
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescriptionin interfaceConfigOptionDef
-
getDefaultValue
public java.lang.String getDefaultValue()- Specified by:
getDefaultValuein interfaceConfigOptionDef
-
setDefaultValue
public void setDefaultValue(java.lang.String defaultValue)- Specified by:
setDefaultValuein interfaceConfigOptionDef
-
isTransient
public boolean isTransient()- Specified by:
isTransientin interfaceConfigOptionDef
-
setTransient
public void setTransient(boolean _transient)- Specified by:
setTransientin interfaceConfigOptionDef
-
isFinal
public boolean isFinal()- Specified by:
isFinalin interfaceConfigOptionDef
-
setFinal
public void setFinal(boolean _final)- Specified by:
setFinalin interfaceConfigOptionDef
-