Enum Class SearchServiceDebugModeHelper.DebugMode
java.lang.Object
java.lang.Enum<SearchServiceDebugModeHelper.DebugMode>
org.ametys.web.frontoffice.search.requesttime.SearchServiceDebugModeHelper.DebugMode
- All Implemented Interfaces:
Serializable
,Comparable<SearchServiceDebugModeHelper.DebugMode>
,java.lang.constant.Constable
- Enclosing class:
- SearchServiceDebugModeHelper
public static enum SearchServiceDebugModeHelper.DebugMode
extends Enum<SearchServiceDebugModeHelper.DebugMode>
Enumeration of debug modes
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe "debug-view-after-validate" debug mode, which declares the action URL with theNORMAL
debug mode and the service.debug cocoon-view, for debugging after entering user inputsThe "normal" debug mode, which sax additional debug information -
Method Summary
-
Enum Constant Details
-
NORMAL
The "normal" debug mode, which sax additional debug information -
DEBUG_VIEW_AFTER_VALIDATE
The "debug-view-after-validate" debug mode, which declares the action URL with theNORMAL
debug mode and the service.debug cocoon-view, for debugging after entering user inputs
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
Gets the debug mode from an int value- Parameters:
mode
- The int value- Returns:
- The debug mode
-
getInt
Gets the int value- Returns:
- the int value
-