01: /*
02: * ==============================================================================
03: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
04: * use this file except in compliance with the License. You may obtain a copy of
05: * the License at
06: *
07: * http://www.apache.org/licenses/LICENSE-2.0
08: *
09: * Unless required by applicable law or agreed to in writing, software
10: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12: * License for the specific language governing permissions and limitations under
13: * the License.
14: */
15: package wicket.jmx;
16:
17: import wicket.settings.IDebugSettings;
18:
19: /**
20: * Debug settings.
21: *
22: * @author eelcohillenius
23: */
24: public interface DebugSettingsMBean {
25: /**
26: * @return true if componentUseCheck is enabled
27: */
28: boolean getComponentUseCheck();
29:
30: /**
31: * @return true if serialize session attributes is enabled, false otherwise
32: */
33: boolean getSerializeSessionAttributes();
34:
35: /**
36: * Returns status of ajax debug mode. See {@link IDebugSettings} for details
37: *
38: * @return true if ajax debug mode is enabled, false otherwise
39: *
40: */
41: boolean isAjaxDebugModeEnabled();
42:
43: /**
44: * Enables or disables ajax debug mode. See {@link IDebugSettings} for
45: * details
46: *
47: * @param enable
48: *
49: */
50: void setAjaxDebugModeEnabled(boolean enable);
51:
52: /**
53: * Sets componentUseCheck debug settings
54: *
55: * @param check
56: */
57: void setComponentUseCheck(boolean check);
58:
59: /**
60: * Sets the seriaalize session attributes setting
61: *
62: * @param serialize
63: */
64: void setSerializeSessionAttributes(boolean serialize);
65: }
|