org.apache.wicket.jmx.DebugSettingsMBean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wicket-jmx Show documentation
Show all versions of wicket-jmx Show documentation
Wicket Java Management Extensions
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.wicket.jmx;
/**
* Debug settings.
*
* @author eelcohillenius
*/
public interface DebugSettingsMBean
{
/**
* @return true if componentUseCheck is enabled
*/
boolean getComponentUseCheck();
/**
* Returns status of ajax debug mode.
*
* @return true if ajax debug mode is enabled, false otherwise
*
*/
boolean isAjaxDebugModeEnabled();
/**
* Enables or disables ajax debug mode.
*
* @param enable
*
*/
void setAjaxDebugModeEnabled(boolean enable);
/**
* Sets componentUseCheck debug settings
*
* @param check
*/
void setComponentUseCheck(boolean check);
/**
* If the parameter value is non-empty then Wicket will use it as the name of an attribute of the
* component tag to print the {@link org.apache.wicket.Component}'s path.
*
* @param name
*/
void setComponentPathAttributeName(String name);
/**
* @see #setComponentPathAttributeName(String)
* @return The name of the attribute for the {@link org.apache.wicket.markup.ComponentTag}.
* If {@code null} or empty then the attribute won't be rendered
*/
String getComponentPathAttributeName();
/**
* 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).
*
* @param enable
* @deprecated use {@link #setOutputMarkupContainerClassNameStrategy(String)} instead
*/
void setOutputMarkupContainerClassName(boolean enable);
/**
* 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).
*
* @param strategyName the enum name of the class output strategy to use
*/
void setOutputMarkupContainerClassNameStrategy(String strategyName);
/**
* Returns whether the markup container's Java class name should be written to the response.
*
* @return true if the markup container's Java class name should be written to response
*/
boolean isOutputMarkupContainerClassName();
/**
* 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.
*
* @return true if the line precise error reporting is enabled
*/
boolean isLinePreciseReportingOnAddComponentEnabled();
/**
* 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.
*
* @param enable
*/
void setLinePreciseReportingOnAddComponentEnabled(boolean enable);
/**
* 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.
*
* @return true if the line precise error reporting is enabled
*/
boolean isLinePreciseReportingOnNewComponentEnabled();
/**
* 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.
*
* @param enable
*/
void setLinePreciseReportingOnNewComponentEnabled(boolean enable);
/**
* Enables all of the panels and pages, etc, from wicket-devutils package.
*
* @param enable
*/
void setDevelopmentUtilitiesEnabled(boolean enable);
/**
* Are all of the panels and pages, etc, from wicket-devutils package enabled?
*
* @return true if all of the panels and pages, etc, from wicket-devutils package are enabled
*/
boolean isDevelopmentUtilitiesEnabled();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy