Package org.apache.wicket.jmx
Interface DebugSettingsMBean
-
- All Known Implementing Classes:
DebugSettings
public interface DebugSettingsMBean
Debug settings.- Author:
- eelcohillenius
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getComponentPathAttributeName()
boolean
getComponentUseCheck()
boolean
isAjaxDebugModeEnabled()
Returns status of ajax debug mode.boolean
isDevelopmentUtilitiesEnabled()
Are all of the panels and pages, etc, from wicket-devutils package enabled?boolean
isLinePreciseReportingOnAddComponentEnabled()
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
isLinePreciseReportingOnNewComponentEnabled()
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
isOutputMarkupContainerClassName()
Returns whether the output of markup container's should be wrapped by comments containing the container's class name.void
setAjaxDebugModeEnabled(boolean enable)
Enables or disables ajax debug mode.void
setComponentPathAttributeName(String name)
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.
-
-
-
Method Detail
-
getComponentUseCheck
boolean getComponentUseCheck()
- Returns:
- true if componentUseCheck is enabled
-
isAjaxDebugModeEnabled
boolean isAjaxDebugModeEnabled()
Returns status of ajax debug mode.- Returns:
- true if ajax debug mode is enabled, false otherwise
-
setAjaxDebugModeEnabled
void setAjaxDebugModeEnabled(boolean enable)
Enables or disables ajax debug mode.- Parameters:
enable
-
-
setComponentUseCheck
void setComponentUseCheck(boolean check)
Sets componentUseCheck debug settings- Parameters:
check
-
-
setComponentPathAttributeName
void setComponentPathAttributeName(String name)
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.- Parameters:
name
-
-
getComponentPathAttributeName
String getComponentPathAttributeName()
- Returns:
- The name of the attribute for the
ComponentTag
. Ifnull
or empty then the attribute won't be rendered - See Also:
setComponentPathAttributeName(String)
-
setOutputMarkupContainerClassName
void setOutputMarkupContainerClassName(boolean enable)
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).- Parameters:
enable
-
-
isOutputMarkupContainerClassName
boolean isOutputMarkupContainerClassName()
Returns whether the output of markup container's should be wrapped by comments containing the container's class name.- Returns:
- true if the markup container's class name should be written to response
-
isLinePreciseReportingOnAddComponentEnabled
boolean isLinePreciseReportingOnAddComponentEnabled()
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.- Returns:
- true if the line precise error reporting is enabled
-
setLinePreciseReportingOnAddComponentEnabled
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. This can cause a significant decrease in performance, do not use in customer facing applications.- Parameters:
enable
-
-
isLinePreciseReportingOnNewComponentEnabled
boolean isLinePreciseReportingOnNewComponentEnabled()
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.- Returns:
- true if the line precise error reporting is enabled
-
setLinePreciseReportingOnNewComponentEnabled
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. This can cause a significant decrease in performance, do not use in customer facing applications.- Parameters:
enable
-
-
setDevelopmentUtilitiesEnabled
void setDevelopmentUtilitiesEnabled(boolean enable)
Enables all of the panels and pages, etc, from wicket-devutils package.- Parameters:
enable
-
-
isDevelopmentUtilitiesEnabled
boolean isDevelopmentUtilitiesEnabled()
Are all of the panels and pages, etc, from wicket-devutils package enabled?- Returns:
- true if all of the panels and pages, etc, from wicket-devutils package are enabled
-
-