org.opencms.main
Class CmsServletContainerSettings.CmsServletContainerCfgMode

java.lang.Object
  extended by org.opencms.util.A_CmsModeStringEnumeration
      extended by org.opencms.main.CmsServletContainerSettings.CmsServletContainerCfgMode
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
CmsServletContainerSettings

public static final class CmsServletContainerSettings.CmsServletContainerCfgMode
extends A_CmsModeStringEnumeration

Enumeration class for the configuration mode.

See Also:
Serialized Form

Field Summary
protected static CmsServletContainerSettings.CmsServletContainerCfgMode MODE_AUTO
          Auto configuration mode.
protected static CmsServletContainerSettings.CmsServletContainerCfgMode MODE_MANUAL
          Manual configuration mode.
protected static CmsServletContainerSettings.CmsServletContainerCfgMode MODE_NONE
          No set configuration mode.
 
Method Summary
 boolean isAuto()
          Checks if this is the auto mode.
 boolean isManual()
          Checks if this is the manual mode.
 boolean isNone()
          Checks if this is the none mode.
static CmsServletContainerSettings.CmsServletContainerCfgMode valueOf(java.lang.String mode)
          Returns the parsed mode object if the string representation matches, or null if not.
 
Methods inherited from class org.opencms.util.A_CmsModeStringEnumeration
equals, getMode, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MODE_AUTO

protected static final CmsServletContainerSettings.CmsServletContainerCfgMode MODE_AUTO
Auto configuration mode.


MODE_MANUAL

protected static final CmsServletContainerSettings.CmsServletContainerCfgMode MODE_MANUAL
Manual configuration mode.


MODE_NONE

protected static final CmsServletContainerSettings.CmsServletContainerCfgMode MODE_NONE
No set configuration mode.

Method Detail

valueOf

public static CmsServletContainerSettings.CmsServletContainerCfgMode valueOf(java.lang.String mode)
Returns the parsed mode object if the string representation matches, or null if not.

Parameters:
mode - the string representation to parse
Returns:
the parsed mode object

isAuto

public boolean isAuto()
Checks if this is the auto mode.

Returns:
true if this is the auto mode

isManual

public boolean isManual()
Checks if this is the manual mode.

Returns:
true if this is the manual mode

isNone

public boolean isNone()
Checks if this is the none mode.

Returns:
true if this is the none mode