@Generated(value="org.nuiton.config.plugin.templates.ApplicationConfigTransformer", date="Thu Sep 07 10:36:46 CEST 2017") 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 ConfigOptionDef
public Class getType()
getType
in interface ConfigOptionDef
public String getDescription()
getDescription
in interface ConfigOptionDef
public String getDefaultValue()
getDefaultValue
in interface ConfigOptionDef
public void setDefaultValue(String defaultValue)
setDefaultValue
in interface ConfigOptionDef
public boolean isTransient()
isTransient
in interface ConfigOptionDef
public void setTransient(boolean _transient)
setTransient
in interface ConfigOptionDef
public boolean isFinal()
isFinal
in interface ConfigOptionDef
public void setFinal(boolean _final)
setFinal
in interface ConfigOptionDef
Copyright © 2016–2017 CodeLutin. All rights reserved.