com.jurismarches.vradi
Enum VradiServiceConfiguration.Option

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

public static enum VradiServiceConfiguration.Option
extends Enum<VradiServiceConfiguration.Option>

Vradi option definition.


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

APPLICATION_VERSION

public static final VradiServiceConfiguration.Option APPLICATION_VERSION

SERVICE_VERSION

public static final VradiServiceConfiguration.Option SERVICE_VERSION

DATA_DIR

public static final VradiServiceConfiguration.Option DATA_DIR

LOCALE

public static final VradiServiceConfiguration.Option LOCALE

WIKITTY_EVENT_JGROUPCHANNELNAME_OPTION

public static final VradiServiceConfiguration.Option WIKITTY_EVENT_JGROUPCHANNELNAME_OPTION

WIKITTY_EVENT_PROPAGATE_OPTION

public static final VradiServiceConfiguration.Option WIKITTY_EVENT_PROPAGATE_OPTION

WIKITTY_CACHE_LISTENEVENTS_OPTION

public static final VradiServiceConfiguration.Option WIKITTY_CACHE_LISTENEVENTS_OPTION

WIKITTY_CACHE_ALLWAYS_RESTORE_COPIES

public static final VradiServiceConfiguration.Option WIKITTY_CACHE_ALLWAYS_RESTORE_COPIES
Field Detail

key

public final String key

description

public final String description

defaultValue

public final String defaultValue

type

public final Class<?> type

isTransient

public final boolean isTransient

isFinal

public final boolean isFinal
Method Detail

values

public static VradiServiceConfiguration.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 (VradiServiceConfiguration.Option c : VradiServiceConfiguration.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 VradiServiceConfiguration.Option 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


Copyright © 2009-2010 JurisMarches. All Rights Reserved.