Package org.opencms.main
Class CmsServletContainerSettings.CmsServletContainerCfgMode
java.lang.Object
org.opencms.util.A_CmsModeStringEnumeration
org.opencms.main.CmsServletContainerSettings.CmsServletContainerCfgMode
- All Implemented Interfaces:
Serializable
- Enclosing class:
- CmsServletContainerSettings
public static final class CmsServletContainerSettings.CmsServletContainerCfgMode
extends A_CmsModeStringEnumeration
Enumeration class for the configuration mode.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final CmsServletContainerSettings.CmsServletContainerCfgMode
Auto configuration mode.protected static final CmsServletContainerSettings.CmsServletContainerCfgMode
Manual configuration mode.protected static final CmsServletContainerSettings.CmsServletContainerCfgMode
No set configuration mode. -
Method Summary
Methods inherited from class org.opencms.util.A_CmsModeStringEnumeration
equals, getMode, hashCode, toString
-
Field Details
-
MODE_AUTO
Auto configuration mode. -
MODE_MANUAL
Manual configuration mode. -
MODE_NONE
No set configuration mode.
-
-
Method Details
-
valueOf
Returns the parsed mode object if the string representation matches, ornull
if not.- Parameters:
mode
- the string representation to parse- Returns:
- the parsed mode object
-
isAuto
Checks if this is the auto mode.- Returns:
true
if this is the auto mode
-
isManual
Checks if this is the manual mode.- Returns:
true
if this is the manual mode
-
isNone
Checks if this is the none mode.- Returns:
true
if this is the none mode
-