|
1 |
| |
|
2 |
| |
|
3 |
| |
|
4 |
| |
|
5 |
| |
|
6 |
| |
|
7 |
| package jtr.config; |
|
8 |
| |
|
9 |
| import java.io.Serializable; |
|
10 |
| import org.apache.log4j.Logger; |
|
11 |
| |
|
12 |
| |
|
13 |
| |
|
14 |
| |
|
15 |
| |
|
16 |
| |
|
17 |
| |
|
18 |
| |
|
19 |
| |
|
20 |
| |
|
21 |
| public class RunnerConfigParam implements Serializable { |
|
22 |
| |
|
23 |
| |
|
24 |
| |
|
25 |
33
| public RunnerConfigParam() {
|
|
26 |
| } |
|
27 |
| |
|
28 |
| |
|
29 |
| |
|
30 |
| |
|
31 |
| |
|
32 |
| |
|
33 |
52423
| public String getName() {
|
|
34 |
52423
| return name;
|
|
35 |
| } |
|
36 |
| |
|
37 |
| |
|
38 |
| |
|
39 |
| |
|
40 |
| |
|
41 |
| |
|
42 |
| |
|
43 |
99
| public void setName(String name) {
|
|
44 |
99
| this.name = name;
|
|
45 |
| } |
|
46 |
| |
|
47 |
| |
|
48 |
| |
|
49 |
| |
|
50 |
| |
|
51 |
| |
|
52 |
42287
| public String getValue() {
|
|
53 |
42284
| return value;
|
|
54 |
| } |
|
55 |
| |
|
56 |
| |
|
57 |
| |
|
58 |
| |
|
59 |
| |
|
60 |
| |
|
61 |
| |
|
62 |
99
| public void setValue(String value) {
|
|
63 |
99
| this.value = value;
|
|
64 |
| } |
|
65 |
| |
|
66 |
| |
|
67 |
| |
|
68 |
| |
|
69 |
| |
|
70 |
| |
|
71 |
| |
|
72 |
| |
|
73 |
0
| public String getType() {
|
|
74 |
0
| return type;
|
|
75 |
| } |
|
76 |
| |
|
77 |
| |
|
78 |
| |
|
79 |
| |
|
80 |
| |
|
81 |
| |
|
82 |
| |
|
83 |
| |
|
84 |
| |
|
85 |
0
| public void setType(String type) {
|
|
86 |
0
| this.type = type;
|
|
87 |
| } |
|
88 |
| |
|
89 |
| |
|
90 |
| |
|
91 |
| |
|
92 |
387502
| public String toString() {
|
|
93 |
387499
| String res = "Param [";
|
|
94 |
387526
| if (name != null) {
|
|
95 |
387533
| res = res + "Name = " + name + ", ";
|
|
96 |
| } else { |
|
97 |
0
| res = res + "Name = null, ";
|
|
98 |
| } |
|
99 |
387501
| if (value != null) {
|
|
100 |
387531
| res = res + "Value = " + value + ", ";
|
|
101 |
| } else { |
|
102 |
0
| res = res + "Value = null, ";
|
|
103 |
| } |
|
104 |
387496
| if (type != null) {
|
|
105 |
0
| res = res + "Type = " + type + "]";
|
|
106 |
| } else { |
|
107 |
387506
| res = res + "Type = null]";
|
|
108 |
| } |
|
109 |
387474
| logger.debug(res);
|
|
110 |
387536
| return res;
|
|
111 |
| } |
|
112 |
| |
|
113 |
| private String name; |
|
114 |
| |
|
115 |
| private String value; |
|
116 |
| |
|
117 |
| private String type; |
|
118 |
| |
|
119 |
| private static Logger logger = Logger.getLogger(RunnerConfigParam.class); |
|
120 |
| } |