com.jurismarches.vradi.services
Enum Configuration.Option

java.lang.Object
  extended by java.lang.Enum<Configuration.Option>
      extended by com.jurismarches.vradi.services.Configuration.Option
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Configuration.Option>
Enclosing class:
Configuration

public static enum Configuration.Option
extends java.lang.Enum<Configuration.Option>

Vradi option definition.


Enum Constant Summary
APPLICATION_VERSION
           
CONFIG_FILE
           
DATA_DIR
           
SERVICE_VERSION
           
TEMP_DIR
           
WIKITTY_CACHE_ALLWAYS_RESTORE_COPIES
           
WIKITTY_CACHE_LISTENEVENTS_OPTION
           
WIKITTY_EVENT_JGROUPCHANNELNAME_OPTION
           
WIKITTY_EVENT_PROPAGATE_OPTION
           
 
Field Summary
 java.lang.String defaultValue
           
 java.lang.String description
           
 boolean isFinal
           
 boolean isTransient
           
 java.lang.String key
           
 java.lang.Class<?> type
           
 
Method Summary
static Configuration.Option valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Configuration.Option[] 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

CONFIG_FILE

public static final Configuration.Option CONFIG_FILE

APPLICATION_VERSION

public static final Configuration.Option APPLICATION_VERSION

SERVICE_VERSION

public static final Configuration.Option SERVICE_VERSION

DATA_DIR

public static final Configuration.Option DATA_DIR

TEMP_DIR

public static final Configuration.Option TEMP_DIR

WIKITTY_EVENT_JGROUPCHANNELNAME_OPTION

public static final Configuration.Option WIKITTY_EVENT_JGROUPCHANNELNAME_OPTION

WIKITTY_EVENT_PROPAGATE_OPTION

public static final Configuration.Option WIKITTY_EVENT_PROPAGATE_OPTION

WIKITTY_CACHE_LISTENEVENTS_OPTION

public static final Configuration.Option WIKITTY_CACHE_LISTENEVENTS_OPTION

WIKITTY_CACHE_ALLWAYS_RESTORE_COPIES

public static final Configuration.Option WIKITTY_CACHE_ALLWAYS_RESTORE_COPIES
Field Detail

key

public final java.lang.String key

description

public final java.lang.String description

defaultValue

public final java.lang.String defaultValue

type

public final java.lang.Class<?> type

isTransient

public final boolean isTransient

isFinal

public final boolean isFinal
Method Detail

values

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

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

valueOf

public static Configuration.Option valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2009-2010 JurisMarches. All Rights Reserved.