java.lang.Object
org.apache.wicket.jmx.wrapper.DebugSettings
- All Implemented Interfaces:
DebugSettingsMBean
Exposes Application related functionality for JMX.
- Author:
- eelcohillenius
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Returns status of ajax debug mode.boolean
Are all of the panels and pages, etc, from wicket-devutils package enabled?boolean
Returns status of line precise error reporting for added components that are not present in the markup: it points to the line where the component was added to the hierarchy in your Java classes.boolean
Returns status of line precise error reporting for new components that are not present in the markup: it points to the line where the component was created in your Java classes.boolean
Returns whether the markup container's Java class name should be written to the response.void
setAjaxDebugModeEnabled
(boolean enable) Enables or disables ajax debug mode.void
If the parameter value is non-empty then Wicket will use it as the name of an attribute of the component tag to print theComponent
's path.void
setComponentUseCheck
(boolean check) Sets componentUseCheck debug settingsvoid
setDevelopmentUtilitiesEnabled
(boolean enable) Enables all of the panels and pages, etc, from wicket-devutils package.void
setLinePreciseReportingOnAddComponentEnabled
(boolean enable) Enables line precise error reporting for added components that are not present in the markup: it points to the line where the component was added to the hierarchy in your Java classes.void
setLinePreciseReportingOnNewComponentEnabled
(boolean enable) Enables line precise error reporting for new components that are not present in the markup: it points to the line where the component was created in your Java classes.void
setOutputMarkupContainerClassName
(boolean enable) Enables wrapping output of markup container in html comments that contain markup container's class name.void
setOutputMarkupContainerClassNameStrategy
(String strategyName) Sets the strategy for outputting the Java class name of a markup container in the HTML output.
-
Constructor Details
-
DebugSettings
Create.- Parameters:
application
-
-
-
Method Details
-
getComponentUseCheck
- Specified by:
getComponentUseCheck
in interfaceDebugSettingsMBean
- Returns:
- true if componentUseCheck is enabled
- See Also:
-
isAjaxDebugModeEnabled
Description copied from interface:DebugSettingsMBean
Returns status of ajax debug mode.- Specified by:
isAjaxDebugModeEnabled
in interfaceDebugSettingsMBean
- Returns:
- true if ajax debug mode is enabled, false otherwise
- See Also:
-
setAjaxDebugModeEnabled
Description copied from interface:DebugSettingsMBean
Enables or disables ajax debug mode.- Specified by:
setAjaxDebugModeEnabled
in interfaceDebugSettingsMBean
-
setComponentUseCheck
Description copied from interface:DebugSettingsMBean
Sets componentUseCheck debug settings- Specified by:
setComponentUseCheck
in interfaceDebugSettingsMBean
-
setComponentPathAttributeName
Description copied from interface:DebugSettingsMBean
If the parameter value is non-empty then Wicket will use it as the name of an attribute of the component tag to print theComponent
's path.- Specified by:
setComponentPathAttributeName
in interfaceDebugSettingsMBean
-
getComponentPathAttributeName
- Specified by:
getComponentPathAttributeName
in interfaceDebugSettingsMBean
- Returns:
- The name of the attribute for the
ComponentTag
. Ifnull
or empty then the attribute won't be rendered - See Also:
-
setOutputMarkupContainerClassName
Description copied from interface:DebugSettingsMBean
Enables wrapping output of markup container in html comments that contain markup container's class name. (Useful for determining which part of page belongs to which markup file).- Specified by:
setOutputMarkupContainerClassName
in interfaceDebugSettingsMBean
-
setOutputMarkupContainerClassNameStrategy
Description copied from interface:DebugSettingsMBean
Sets the strategy for outputting the Java class name of a markup container in the HTML output. (Useful for determining which part of page belongs to which markup file).- Specified by:
setOutputMarkupContainerClassNameStrategy
in interfaceDebugSettingsMBean
- Parameters:
strategyName
- the enum name of the class output strategy to use
-
isOutputMarkupContainerClassName
Description copied from interface:DebugSettingsMBean
Returns whether the markup container's Java class name should be written to the response.- Specified by:
isOutputMarkupContainerClassName
in interfaceDebugSettingsMBean
- Returns:
- true if the markup container's Java class name should be written to response
-
isLinePreciseReportingOnAddComponentEnabled
Description copied from interface:DebugSettingsMBean
Returns status of line precise error reporting for added components that are not present in the markup: it points to the line where the component was added to the hierarchy in your Java classes. This can cause a significant decrease in performance, do not use in customer facing applications.- Specified by:
isLinePreciseReportingOnAddComponentEnabled
in interfaceDebugSettingsMBean
- Returns:
- true if the line precise error reporting is enabled
-
setLinePreciseReportingOnAddComponentEnabled
Description copied from interface:DebugSettingsMBean
Enables line precise error reporting for added components that are not present in the markup: it points to the line where the component was added to the hierarchy in your Java classes. This can cause a significant decrease in performance, do not use in customer facing applications.- Specified by:
setLinePreciseReportingOnAddComponentEnabled
in interfaceDebugSettingsMBean
-
isLinePreciseReportingOnNewComponentEnabled
Description copied from interface:DebugSettingsMBean
Returns status of line precise error reporting for new components that are not present in the markup: it points to the line where the component was created in your Java classes. This can cause a significant decrease in performance, do not use in customer facing applications.- Specified by:
isLinePreciseReportingOnNewComponentEnabled
in interfaceDebugSettingsMBean
- Returns:
- true if the line precise error reporting is enabled
-
setLinePreciseReportingOnNewComponentEnabled
Description copied from interface:DebugSettingsMBean
Enables line precise error reporting for new components that are not present in the markup: it points to the line where the component was created in your Java classes. This can cause a significant decrease in performance, do not use in customer facing applications.- Specified by:
setLinePreciseReportingOnNewComponentEnabled
in interfaceDebugSettingsMBean
-
setDevelopmentUtilitiesEnabled
Description copied from interface:DebugSettingsMBean
Enables all of the panels and pages, etc, from wicket-devutils package.- Specified by:
setDevelopmentUtilitiesEnabled
in interfaceDebugSettingsMBean
-
isDevelopmentUtilitiesEnabled
Description copied from interface:DebugSettingsMBean
Are all of the panels and pages, etc, from wicket-devutils package enabled?- Specified by:
isDevelopmentUtilitiesEnabled
in interfaceDebugSettingsMBean
- Returns:
- true if all of the panels and pages, etc, from wicket-devutils package are enabled
-