org.chorem.lima
Enum LimaConfig.Option

java.lang.Object
  extended by java.lang.Enum<LimaConfig.Option>
      extended by org.chorem.lima.LimaConfig.Option
All Implemented Interfaces:
Serializable, Comparable<LimaConfig.Option>, org.nuiton.util.ApplicationConfig.OptionDef
Enclosing class:
LimaConfig

public static enum LimaConfig.Option
extends Enum<LimaConfig.Option>
implements org.nuiton.util.ApplicationConfig.OptionDef

Lima option definition. Contains all lima configuration key, with defaut value and information for jaxx configuration frame (type, _transient, _final...)


Enum Constant Summary
CONFIG_FILE
           
FULL_SCREEN
           
LAUNCH_UI
           
LIMA_HOST_ADDRESS
           
LOCALE
           
OPENEJB_REMOTEMODE
           
SUPPORT_EMAIL
           
 
Field Summary
 boolean _final
           
 boolean _transient
           
 String defaultValue
           
 String description
           
 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 _final)
           
 void setTransient(boolean _transient)
           
static LimaConfig.Option valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LimaConfig.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 LimaConfig.Option CONFIG_FILE

LOCALE

public static final LimaConfig.Option LOCALE

FULL_SCREEN

public static final LimaConfig.Option FULL_SCREEN

LAUNCH_UI

public static final LimaConfig.Option LAUNCH_UI

SUPPORT_EMAIL

public static final LimaConfig.Option SUPPORT_EMAIL

OPENEJB_REMOTEMODE

public static final LimaConfig.Option OPENEJB_REMOTEMODE

LIMA_HOST_ADDRESS

public static final LimaConfig.Option LIMA_HOST_ADDRESS
Field Detail

key

public final String key

description

public final String description

defaultValue

public String defaultValue

type

public final Class<?> type

_transient

public boolean _transient

_final

public boolean _final
Method Detail

values

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

isFinal

public boolean isFinal()
Specified by:
isFinal in interface org.nuiton.util.ApplicationConfig.OptionDef

setFinal

public void setFinal(boolean _final)
Specified by:
setFinal in interface org.nuiton.util.ApplicationConfig.OptionDef

isTransient

public boolean isTransient()
Specified by:
isTransient in interface org.nuiton.util.ApplicationConfig.OptionDef

setTransient

public void setTransient(boolean _transient)
Specified by:
setTransient in interface org.nuiton.util.ApplicationConfig.OptionDef

getDefaultValue

public String getDefaultValue()
Specified by:
getDefaultValue in interface org.nuiton.util.ApplicationConfig.OptionDef

setDefaultValue

public void setDefaultValue(String defaultValue)
Specified by:
setDefaultValue in interface org.nuiton.util.ApplicationConfig.OptionDef

getDescription

public String getDescription()
Specified by:
getDescription in interface org.nuiton.util.ApplicationConfig.OptionDef

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


Copyright © 2008-2011 CodeLutin. All Rights Reserved.