@Generated(value="org.nuiton.config.plugin.templates.ApplicationConfigTransformer", date="Wed Jan 31 16:35:23 CET 2018") public enum NuitonConfigExampleConfigOption extends Enum<NuitonConfigExampleConfigOption> implements ConfigOptionDef
| Enum Constant and Description |
|---|
AGE |
EMAIL |
FIRST_NAME |
LAST_NAME |
TWITTER |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultValue() |
String |
getDescription() |
String |
getKey() |
Class |
getType() |
boolean |
isFinal() |
boolean |
isTransient() |
void |
setDefaultValue(String defaultValue) |
void |
setFinal(boolean _final) |
void |
setTransient(boolean _transient) |
static NuitonConfigExampleConfigOption |
valueOf(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.
|
public static final NuitonConfigExampleConfigOption FIRST_NAME
public static final NuitonConfigExampleConfigOption LAST_NAME
public static final NuitonConfigExampleConfigOption EMAIL
public static final NuitonConfigExampleConfigOption TWITTER
public static final NuitonConfigExampleConfigOption AGE
public static NuitonConfigExampleConfigOption[] values()
for (NuitonConfigExampleConfigOption c : NuitonConfigExampleConfigOption.values()) System.out.println(c);
public static NuitonConfigExampleConfigOption valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getKey()
getKey in interface ConfigOptionDefpublic Class getType()
getType in interface ConfigOptionDefpublic String getDescription()
getDescription in interface ConfigOptionDefpublic String getDefaultValue()
getDefaultValue in interface ConfigOptionDefpublic void setDefaultValue(String defaultValue)
setDefaultValue in interface ConfigOptionDefpublic boolean isTransient()
isTransient in interface ConfigOptionDefpublic void setTransient(boolean _transient)
setTransient in interface ConfigOptionDefpublic boolean isFinal()
isFinal in interface ConfigOptionDefpublic void setFinal(boolean _final)
setFinal in interface ConfigOptionDefCopyright © 2016–2018 CodeLutin. All rights reserved.