01: /**
02: * $Id: CurrentLoggerSettingsBean.java,v 1.3 2005/07/14 11:18:39 sm140826 Exp $
03: * Copyright 2005 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.admin.console.logging.bean;
14:
15: import com.sun.portal.admin.console.common.PSBaseBean;
16:
17: /**
18: * has request scope, gets current log settings for a portal instance
19: */
20: public class CurrentLoggerSettingsBean extends PSBaseBean {
21:
22: private String defaultHandler;
23: private String level;
24: private String pattern;
25: private String limit;
26: private String count;
27: private String append;
28: private String filter;
29: private String formatter;
30: private String customHandler;
31: private boolean useServerLog;
32:
33: public boolean getUseServerLogYes() {
34: return useServerLog;
35: }
36:
37: public boolean getUseServerLogNo() {
38: return !useServerLog;
39: }
40:
41: public CurrentLoggerSettingsBean() {
42: }
43:
44: public String getDefaultHandler() {
45: return defaultHandler;
46: }
47:
48: public String getLevel() {
49: return level;
50: }
51:
52: public String getPattern() {
53: return pattern;
54: }
55:
56: public String getLimit() {
57: return limit;
58: }
59:
60: public String getCount() {
61: return count;
62: }
63:
64: public String getAppend() {
65: return append;
66: }
67:
68: public String getFilter() {
69: return filter;
70: }
71:
72: public String getFormatter() {
73: return formatter;
74: }
75:
76: public String getCustomHandler() {
77: return customHandler;
78: }
79: }
|