fr.ifremer.coser.web
Enum CoserWebConfig.CoserWebOption

java.lang.Object
  extended by java.lang.Enum<CoserWebConfig.CoserWebOption>
      extended by fr.ifremer.coser.web.CoserWebConfig.CoserWebOption
All Implemented Interfaces:
Serializable, Comparable<CoserWebConfig.CoserWebOption>
Enclosing class:
CoserWebConfig

public static enum CoserWebConfig.CoserWebOption
extends Enum<CoserWebConfig.CoserWebOption>


Enum Constant Summary
ADMIN_EMAIL
           
ADMIN_LOGIN
           
ADMIN_PASSWORD
           
APPLICATION_VERSION
           
CONFIG_FILE
           
CONTEXT_NAME
          Context name for multiple deployment.
 
Field Summary
protected  String defaultValue
           
protected  String description
           
protected  String key
           
 
Method Summary
 String getDefaultValue()
           
 String getDescription()
           
 String getKey()
           
static CoserWebConfig.CoserWebOption valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CoserWebConfig.CoserWebOption[] 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

CONTEXT_NAME

public static final CoserWebConfig.CoserWebOption CONTEXT_NAME
Context name for multiple deployment.


CONFIG_FILE

public static final CoserWebConfig.CoserWebOption CONFIG_FILE

APPLICATION_VERSION

public static final CoserWebConfig.CoserWebOption APPLICATION_VERSION

ADMIN_EMAIL

public static final CoserWebConfig.CoserWebOption ADMIN_EMAIL

ADMIN_LOGIN

public static final CoserWebConfig.CoserWebOption ADMIN_LOGIN

ADMIN_PASSWORD

public static final CoserWebConfig.CoserWebOption ADMIN_PASSWORD
Field Detail

key

protected String key

description

protected String description

defaultValue

protected String defaultValue
Method Detail

values

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

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

valueOf

public static CoserWebConfig.CoserWebOption 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

getDefaultValue

public String getDefaultValue()

getDescription

public String getDescription()

getKey

public String getKey()


Copyright © 2010-2011 Ifremer. All Rights Reserved.