public enum CoselmarServicesConfigOption extends Enum<CoselmarServicesConfigOption> implements org.nuiton.config.ConfigOptionDef
| Enum Constant and Description |
|---|
APPLICATION_URL |
DATA_DIRECTORY |
DEV_MODE |
INDEX_DIRECTORY |
LOG_CONFIGURATION_FILE |
SMTP_FROM |
SMTP_HOST |
SMTP_PORT |
WEB_SECURITY_KEY |
| 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 CoselmarServicesConfigOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoselmarServicesConfigOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoselmarServicesConfigOption DATA_DIRECTORY
public static final CoselmarServicesConfigOption INDEX_DIRECTORY
public static final CoselmarServicesConfigOption SMTP_HOST
public static final CoselmarServicesConfigOption SMTP_PORT
public static final CoselmarServicesConfigOption SMTP_FROM
public static final CoselmarServicesConfigOption LOG_CONFIGURATION_FILE
public static final CoselmarServicesConfigOption DEV_MODE
public static final CoselmarServicesConfigOption APPLICATION_URL
public static final CoselmarServicesConfigOption WEB_SECURITY_KEY
protected final String key
protected final String description
protected final Class<?> type
protected String defaultValue
public static CoselmarServicesConfigOption[] values()
for (CoselmarServicesConfigOption c : CoselmarServicesConfigOption.values()) System.out.println(c);
public static CoselmarServicesConfigOption 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 © 2014–2015 Ifremer. All rights reserved.