Package org.opencms.main
Class CmsServletContainerSettings.CmsServletContainerCfgMode
- java.lang.Object
-
- org.opencms.util.A_CmsModeStringEnumeration
-
- 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
Fields Modifier and Type Field Description 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, ornull
if not.-
Methods inherited from class org.opencms.util.A_CmsModeStringEnumeration
equals, getMode, hashCode, toString
-
-
-
-
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, ornull
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
-
-