org.nuiton.wikitty.ui
Enum WikittyZkConfig.Option

java.lang.Object
  extended by java.lang.Enum<WikittyZkConfig.Option>
      extended by org.nuiton.wikitty.ui.WikittyZkConfig.Option
All Implemented Interfaces:
Serializable, Comparable<WikittyZkConfig.Option>
Enclosing class:
WikittyZkConfig

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

Vradi option definition.


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

APPLICATION_VERSION

public static final WikittyZkConfig.Option APPLICATION_VERSION

BOW_URL

public static final WikittyZkConfig.Option BOW_URL

DATA_DIR

public static final WikittyZkConfig.Option DATA_DIR
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 WikittyZkConfig.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 (WikittyZkConfig.Option c : WikittyZkConfig.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 WikittyZkConfig.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 © 2010 CodeLutin. All Rights Reserved.