fr.inra.refcomp.services
Enum RefcompConfiguration.RefcompOption
java.lang.Object
java.lang.Enum<RefcompConfiguration.RefcompOption>
fr.inra.refcomp.services.RefcompConfiguration.RefcompOption
- All Implemented Interfaces:
- Serializable, Comparable<RefcompConfiguration.RefcompOption>, org.nuiton.util.ApplicationConfig.OptionDef
- Enclosing class:
- RefcompConfiguration
public static enum RefcompConfiguration.RefcompOption
- extends Enum<RefcompConfiguration.RefcompOption>
- implements org.nuiton.util.ApplicationConfig.OptionDef
Vradi option definition.
ADMIN_EMAIL
public static final RefcompConfiguration.RefcompOption ADMIN_EMAIL
ADMIN_LOGIN
public static final RefcompConfiguration.RefcompOption ADMIN_LOGIN
ADMIN_PASSWORD
public static final RefcompConfiguration.RefcompOption ADMIN_PASSWORD
CONFIG_FILE
public static final RefcompConfiguration.RefcompOption CONFIG_FILE
APPLICATION_VERSION
public static final RefcompConfiguration.RefcompOption APPLICATION_VERSION
DATA_DIR
public static final RefcompConfiguration.RefcompOption DATA_DIR
LOCALE
public static final RefcompConfiguration.RefcompOption LOCALE
key
public String key
description
public String description
defaultValue
public String defaultValue
type
public Class<?> type
isTransient
public boolean isTransient
isFinal
public boolean isFinal
values
public static RefcompConfiguration.RefcompOption[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (RefcompConfiguration.RefcompOption c : RefcompConfiguration.RefcompOption.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RefcompConfiguration.RefcompOption valueOf(String name)
- 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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getKey
public String getKey()
- Specified by:
getKey in interface org.nuiton.util.ApplicationConfig.OptionDef
getType
public Class<?> getType()
- Specified by:
getType in interface org.nuiton.util.ApplicationConfig.OptionDef
getDescription
public String getDescription()
- Specified by:
getDescription in interface org.nuiton.util.ApplicationConfig.OptionDef
getDefaultValue
public String getDefaultValue()
- Specified by:
getDefaultValue in interface org.nuiton.util.ApplicationConfig.OptionDef
isTransient
public boolean isTransient()
- Specified by:
isTransient in interface org.nuiton.util.ApplicationConfig.OptionDef
isFinal
public boolean isFinal()
- Specified by:
isFinal in interface org.nuiton.util.ApplicationConfig.OptionDef
setDefaultValue
public void setDefaultValue(String defaultValue)
- Specified by:
setDefaultValue in interface org.nuiton.util.ApplicationConfig.OptionDef
setTransient
public void setTransient(boolean isTransient)
- Specified by:
setTransient in interface org.nuiton.util.ApplicationConfig.OptionDef
setFinal
public void setFinal(boolean isFinal)
- Specified by:
setFinal in interface org.nuiton.util.ApplicationConfig.OptionDef
Copyright © 2010-2011 Code Lutin. All Rights Reserved.