01: package net.sourceforge.tracelog.config;
02:
03: import java.io.Serializable;
04: import java.util.LinkedList;
05: import java.util.List;
06:
07: public class UserConfig implements Serializable {
08: private static final long serialVersionUID = 7671161193586725920L;
09: public String textEditorPath;
10: private List<LogGroup> logGroups;
11:
12: public UserConfig() {
13: this .textEditorPath = "";
14: this .logGroups = new LinkedList<LogGroup>();
15: }
16:
17: /**
18: * @return the logGroups
19: */
20: public List<LogGroup> getLogGroups() {
21: return logGroups;
22: }
23:
24: /**
25: * @return the textEditorPath
26: */
27: public String getTextEditorPath() {
28: return textEditorPath;
29: }
30:
31: /**
32: * @param logGroups
33: * the logGroups to set
34: */
35: public void setLogGroups(List<LogGroup> logGroups) {
36: this .logGroups = logGroups;
37: }
38:
39: /**
40: * @param textEditorPath
41: * the textEditorPath to set
42: */
43: public void setTextEditorPath(String textEditorPath) {
44: this.textEditorPath = textEditorPath.trim();
45: }
46:
47: }
|