1 | |
package org.apache.maven.plugin.jira; |
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
import java.util.ArrayList; |
23 | |
import java.util.List; |
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
public class JiraIssue |
31 | |
{ |
32 | |
private String component; |
33 | |
|
34 | |
private String fixVersion; |
35 | |
|
36 | |
private String key; |
37 | |
|
38 | |
private String link; |
39 | |
|
40 | |
private String priority; |
41 | |
|
42 | |
private String reporter; |
43 | |
|
44 | |
private String summary; |
45 | |
|
46 | |
private String status; |
47 | |
|
48 | |
private String type; |
49 | |
|
50 | |
private String version; |
51 | |
|
52 | |
private String resolution; |
53 | |
|
54 | |
private String assignee; |
55 | |
|
56 | |
private List comments; |
57 | |
|
58 | |
private String title; |
59 | |
|
60 | |
public JiraIssue() |
61 | 5 | { |
62 | 5 | } |
63 | |
|
64 | |
public String getKey() |
65 | |
{ |
66 | 1 | return key; |
67 | |
} |
68 | |
|
69 | |
public void setKey( String key ) |
70 | |
{ |
71 | 1 | this.key = key; |
72 | 1 | } |
73 | |
|
74 | |
public String getLink() |
75 | |
{ |
76 | 0 | return link; |
77 | |
} |
78 | |
|
79 | |
public void setLink( String link ) |
80 | |
{ |
81 | 0 | this.link = link; |
82 | 0 | } |
83 | |
|
84 | |
public String getSummary() |
85 | |
{ |
86 | 1 | return summary; |
87 | |
} |
88 | |
|
89 | |
public void setSummary( String summary ) |
90 | |
{ |
91 | 1 | this.summary = summary; |
92 | 1 | } |
93 | |
|
94 | |
public String getStatus() |
95 | |
{ |
96 | 1 | return status; |
97 | |
} |
98 | |
|
99 | |
public void setStatus( String status ) |
100 | |
{ |
101 | 1 | this.status = status; |
102 | 1 | } |
103 | |
|
104 | |
public String getResolution() |
105 | |
{ |
106 | 1 | return resolution; |
107 | |
} |
108 | |
|
109 | |
public void setResolution( String resolution ) |
110 | |
{ |
111 | 1 | this.resolution = resolution; |
112 | 1 | } |
113 | |
|
114 | |
public String getAssignee() |
115 | |
{ |
116 | 1 | return assignee; |
117 | |
} |
118 | |
|
119 | |
public void setAssignee( String assignee ) |
120 | |
{ |
121 | 1 | this.assignee = assignee; |
122 | 1 | } |
123 | |
|
124 | |
public String getComponent() |
125 | |
{ |
126 | 0 | return component; |
127 | |
} |
128 | |
|
129 | |
public void setComponent( String component ) |
130 | |
{ |
131 | 0 | this.component = component; |
132 | 0 | } |
133 | |
|
134 | |
public String getFixVersion() |
135 | |
{ |
136 | 0 | return fixVersion; |
137 | |
} |
138 | |
|
139 | |
public void setFixVersion( String fixVersion ) |
140 | |
{ |
141 | 0 | this.fixVersion = fixVersion; |
142 | 0 | } |
143 | |
|
144 | |
public String getPriority() |
145 | |
{ |
146 | 0 | return priority; |
147 | |
} |
148 | |
|
149 | |
public void setPriority( String priority ) |
150 | |
{ |
151 | 0 | this.priority = priority; |
152 | 0 | } |
153 | |
|
154 | |
public String getReporter() |
155 | |
{ |
156 | 0 | return reporter; |
157 | |
} |
158 | |
|
159 | |
public void setReporter( String reporter ) |
160 | |
{ |
161 | 0 | this.reporter = reporter; |
162 | 0 | } |
163 | |
|
164 | |
public String getType() |
165 | |
{ |
166 | 0 | return type; |
167 | |
} |
168 | |
|
169 | |
public void setType( String type ) |
170 | |
{ |
171 | 0 | this.type = type; |
172 | 0 | } |
173 | |
|
174 | |
public String getVersion() |
175 | |
{ |
176 | 0 | return version; |
177 | |
} |
178 | |
|
179 | |
public void setVersion( String version ) |
180 | |
{ |
181 | 0 | this.version = version; |
182 | 0 | } |
183 | |
|
184 | |
public void addComment( String comment ) |
185 | |
{ |
186 | 0 | if ( comments == null ) |
187 | |
{ |
188 | 0 | comments = new ArrayList(); |
189 | |
} |
190 | 0 | comments.add( comment ); |
191 | 0 | } |
192 | |
|
193 | |
public List getComments() |
194 | |
{ |
195 | 0 | return comments; |
196 | |
} |
197 | |
|
198 | |
public String getTitle() |
199 | |
{ |
200 | 0 | return title; |
201 | |
} |
202 | |
|
203 | |
public void setTitle( String title ) |
204 | |
{ |
205 | 0 | this.title = title; |
206 | 0 | } |
207 | |
} |