public enum MagalieConfigOption extends Enum<MagalieConfigOption> implements org.nuiton.config.ConfigOptionDef
| Enum Constant and Description |
|---|
DEV_MODE |
ORACLE_COMPATIBILITY_MODE |
| Modifier and Type | Field and Description |
|---|---|
protected String |
defaultValue |
protected String |
description |
protected String |
key |
protected Class<?> |
type |
| 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 isFinal) |
void |
setTransient(boolean isTransient) |
static MagalieConfigOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MagalieConfigOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MagalieConfigOption ORACLE_COMPATIBILITY_MODE
public static final MagalieConfigOption DEV_MODE
protected final String key
protected final String description
protected final Class<?> type
protected String defaultValue
public static MagalieConfigOption[] values()
for (MagalieConfigOption c : MagalieConfigOption.values()) System.out.println(c);
public static MagalieConfigOption 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 org.nuiton.config.ConfigOptionDefpublic Class<?> getType()
getType in interface org.nuiton.config.ConfigOptionDefpublic String getDescription()
getDescription in interface org.nuiton.config.ConfigOptionDefpublic String getDefaultValue()
getDefaultValue in interface org.nuiton.config.ConfigOptionDefpublic boolean isTransient()
isTransient in interface org.nuiton.config.ConfigOptionDefpublic boolean isFinal()
isFinal in interface org.nuiton.config.ConfigOptionDefpublic void setDefaultValue(String defaultValue)
setDefaultValue in interface org.nuiton.config.ConfigOptionDefpublic void setTransient(boolean isTransient)
setTransient in interface org.nuiton.config.ConfigOptionDefpublic void setFinal(boolean isFinal)
setFinal in interface org.nuiton.config.ConfigOptionDefCopyright © 2013 CodeLutin. All rights reserved.