public class DebugSettings extends Object implements DebugSettingsMBean
| Constructor and Description |
|---|
DebugSettings(Application application)
Create.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
isOutputComponentPath() |
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 |
setComponentUseCheck(boolean check)
Sets componentUseCheck debug settings
|
void |
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 |
setOutputComponentPath(boolean enabled)
If set to
true wicket will output component path in a wicket:path
attribute of the component tag. |
void |
setOutputMarkupContainerClassName(boolean enable)
Enables wrapping output of markup container in html comments that contain markup container's
class name.
|
public DebugSettings(Application application)
application - public boolean getComponentUseCheck()
getComponentUseCheck in interface DebugSettingsMBeanDebugSettingsMBean.getComponentUseCheck()public boolean isAjaxDebugModeEnabled()
DebugSettingsMBeanisAjaxDebugModeEnabled in interface DebugSettingsMBeanDebugSettingsMBean.isAjaxDebugModeEnabled()public void setAjaxDebugModeEnabled(boolean enable)
DebugSettingsMBeansetAjaxDebugModeEnabled in interface DebugSettingsMBeanDebugSettingsMBean.setAjaxDebugModeEnabled(boolean)public void setComponentUseCheck(boolean check)
DebugSettingsMBeansetComponentUseCheck in interface DebugSettingsMBeanDebugSettingsMBean.setComponentUseCheck(boolean)public void setOutputComponentPath(boolean enabled)
DebugSettingsMBeantrue wicket will output component path in a wicket:path
attribute of the component tag. This can be useful for debugging and automating tests.setOutputComponentPath in interface DebugSettingsMBeanDebugSettingsMBean.setOutputComponentPath(boolean)public boolean isOutputComponentPath()
isOutputComponentPath in interface DebugSettingsMBeantrue if output component path feature is enabled, false
otherwiseDebugSettingsMBean.isOutputComponentPath()public void setOutputMarkupContainerClassName(boolean enable)
DebugSettingsMBeansetOutputMarkupContainerClassName in interface DebugSettingsMBeanDebugSettingsMBean.setOutputMarkupContainerClassName(boolean)public boolean isOutputMarkupContainerClassName()
DebugSettingsMBeanisOutputMarkupContainerClassName in interface DebugSettingsMBeanDebugSettingsMBean.isOutputMarkupContainerClassName()public boolean isLinePreciseReportingOnAddComponentEnabled()
DebugSettingsMBeanisLinePreciseReportingOnAddComponentEnabled in interface DebugSettingsMBeanDebugSettingsMBean.isLinePreciseReportingOnAddComponentEnabled()public void setLinePreciseReportingOnAddComponentEnabled(boolean enable)
DebugSettingsMBeansetLinePreciseReportingOnAddComponentEnabled in interface DebugSettingsMBeanDebugSettingsMBean.setLinePreciseReportingOnAddComponentEnabled(boolean)public boolean isLinePreciseReportingOnNewComponentEnabled()
DebugSettingsMBeanisLinePreciseReportingOnNewComponentEnabled in interface DebugSettingsMBeanDebugSettingsMBean.isLinePreciseReportingOnNewComponentEnabled()public void setLinePreciseReportingOnNewComponentEnabled(boolean enable)
DebugSettingsMBeansetLinePreciseReportingOnNewComponentEnabled in interface DebugSettingsMBeanDebugSettingsMBean.setLinePreciseReportingOnNewComponentEnabled(boolean)public void setDevelopmentUtilitiesEnabled(boolean enable)
DebugSettingsMBeansetDevelopmentUtilitiesEnabled in interface DebugSettingsMBeanDebugSettingsMBean.setDevelopmentUtilitiesEnabled(boolean)public boolean isDevelopmentUtilitiesEnabled()
DebugSettingsMBeanisDevelopmentUtilitiesEnabled in interface DebugSettingsMBeanDebugSettingsMBean.isDevelopmentUtilitiesEnabled()Copyright © 2006–2019 Apache Software Foundation. All rights reserved.