com.cybelia.sandra
Enum SandraConfig.SandraOption

java.lang.Object
  extended by java.lang.Enum<SandraConfig.SandraOption>
      extended by com.cybelia.sandra.SandraConfig.SandraOption
All Implemented Interfaces:
Serializable, Comparable<SandraConfig.SandraOption>, org.nuiton.util.ApplicationConfig.OptionDef
Enclosing class:
SandraConfig

public static enum SandraConfig.SandraOption
extends Enum<SandraConfig.SandraOption>
implements org.nuiton.util.ApplicationConfig.OptionDef

Sandra ibu option definition.


Enum Constant Summary
GOOGLE_MAP_KEY
           
IBU_INTEGRATION_DONE
           
IBU_INTEGRATION_ERROR
           
IBU_INTEGRATION_OLDS
           
IBU_INTEGRATION_PATH
           
IBU_INTEGRATION_VERIFIER_ERROR
           
IBU_INTEGRATION_WORK
           
IBU_PATTERN_FILE
           
LOCALE
           
NOTIF_PATH
           
NOTIFIER_TEMPLATE_DIR
           
NOTIFIER_TEMPLATE_EXTENSION
           
SANDRA_CONFIG_FILE
           
SANDRA_EMAIL_FROM
           
SANDRA_EMAIL_HOST
           
SANDRA_EMAIL_PORT
           
SANDRA_EMAIL_TO
           
SANDRA_INJECTION_DIR
           
SANDRA_NAME
           
SANDRA_NOTE_DIR
           
SANDRA_TOPIA_PROPERTIES
           
SANDRA_URL
           
SANDRA_VERSION
           
SUIVI_TOUR_PATH
           
 
Field Summary
 String defaultValue
           
 String description
           
 boolean isFinal
           
 boolean isTransient
           
 String key
           
 Class<?> type
           
 
Method Summary
 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 SandraConfig.SandraOption valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SandraConfig.SandraOption[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SANDRA_CONFIG_FILE

public static final SandraConfig.SandraOption SANDRA_CONFIG_FILE

NOTIFIER_TEMPLATE_EXTENSION

public static final SandraConfig.SandraOption NOTIFIER_TEMPLATE_EXTENSION

NOTIFIER_TEMPLATE_DIR

public static final SandraConfig.SandraOption NOTIFIER_TEMPLATE_DIR

SANDRA_INJECTION_DIR

public static final SandraConfig.SandraOption SANDRA_INJECTION_DIR

IBU_PATTERN_FILE

public static final SandraConfig.SandraOption IBU_PATTERN_FILE

IBU_INTEGRATION_PATH

public static final SandraConfig.SandraOption IBU_INTEGRATION_PATH

IBU_INTEGRATION_WORK

public static final SandraConfig.SandraOption IBU_INTEGRATION_WORK

IBU_INTEGRATION_DONE

public static final SandraConfig.SandraOption IBU_INTEGRATION_DONE

SUIVI_TOUR_PATH

public static final SandraConfig.SandraOption SUIVI_TOUR_PATH

NOTIF_PATH

public static final SandraConfig.SandraOption NOTIF_PATH

IBU_INTEGRATION_ERROR

public static final SandraConfig.SandraOption IBU_INTEGRATION_ERROR

IBU_INTEGRATION_VERIFIER_ERROR

public static final SandraConfig.SandraOption IBU_INTEGRATION_VERIFIER_ERROR

IBU_INTEGRATION_OLDS

public static final SandraConfig.SandraOption IBU_INTEGRATION_OLDS

SANDRA_NAME

public static final SandraConfig.SandraOption SANDRA_NAME

SANDRA_URL

public static final SandraConfig.SandraOption SANDRA_URL

SANDRA_EMAIL_HOST

public static final SandraConfig.SandraOption SANDRA_EMAIL_HOST

SANDRA_EMAIL_PORT

public static final SandraConfig.SandraOption SANDRA_EMAIL_PORT

SANDRA_EMAIL_FROM

public static final SandraConfig.SandraOption SANDRA_EMAIL_FROM

SANDRA_EMAIL_TO

public static final SandraConfig.SandraOption SANDRA_EMAIL_TO

LOCALE

public static final SandraConfig.SandraOption LOCALE

SANDRA_TOPIA_PROPERTIES

public static final SandraConfig.SandraOption SANDRA_TOPIA_PROPERTIES

SANDRA_NOTE_DIR

public static final SandraConfig.SandraOption SANDRA_NOTE_DIR

GOOGLE_MAP_KEY

public static final SandraConfig.SandraOption GOOGLE_MAP_KEY

SANDRA_VERSION

public static final SandraConfig.SandraOption SANDRA_VERSION
Field Detail

key

public String key

description

public String description

defaultValue

public String defaultValue

type

public Class<?> type

isTransient

public boolean isTransient

isFinal

public boolean isFinal
Method Detail

values

public static SandraConfig.SandraOption[] 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 (SandraConfig.SandraOption c : SandraConfig.SandraOption.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SandraConfig.SandraOption 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 © 2008-2012 Cybelia. All Rights Reserved.