org.nuiton.scmwebeditor
Enum ScmWebEditorConfigOption

java.lang.Object
  extended by java.lang.Enum<ScmWebEditorConfigOption>
      extended by org.nuiton.scmwebeditor.ScmWebEditorConfigOption
All Implemented Interfaces:
Serializable, Comparable<ScmWebEditorConfigOption>, org.nuiton.util.ApplicationConfig.OptionDef

public enum ScmWebEditorConfigOption
extends Enum<ScmWebEditorConfigOption>
implements org.nuiton.util.ApplicationConfig.OptionDef


Enum Constant Summary
CONFIG_FILE
           
COOKIES_PRIVATE_KEY
           
EDITABLESFILES
           
 
Method Summary
 String getDefaultValue()
           
 String getDescription()
           
 String getKey()
           
 Class<?> getType()
           
 boolean isFinal()
           
 boolean isTransient()
           
 void setDefaultValue(String defaultValue)
           
 void setFinal(boolean isFinal)
           
 void setTransient(boolean isTransient)
           
static ScmWebEditorConfigOption valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ScmWebEditorConfigOption[] 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 ScmWebEditorConfigOption CONFIG_FILE

EDITABLESFILES

public static final ScmWebEditorConfigOption EDITABLESFILES

COOKIES_PRIVATE_KEY

public static final ScmWebEditorConfigOption COOKIES_PRIVATE_KEY
Method Detail

values

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

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

valueOf

public static ScmWebEditorConfigOption 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

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

getDescription

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

getDefaultValue

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

isTransient

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

isFinal

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

setDefaultValue

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

setTransient

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

setFinal

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


Copyright © 2009-2011 CodeLutin. All Rights Reserved.