1 |
|
package org.apache.maven.plugin.announcement; |
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
import java.util.ArrayList; |
20 |
|
import java.util.List; |
21 |
|
|
22 |
|
import org.apache.maven.plugin.jira.JiraIssue; |
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
0 |
public class JiraAnnouncement |
30 |
|
extends JiraIssue |
31 |
|
{ |
32 |
|
private String type; |
33 |
|
|
34 |
|
private String comment; |
35 |
|
|
36 |
|
private String title; |
37 |
|
|
38 |
|
private String fixVersion; |
39 |
|
|
40 |
|
private String reporter; |
41 |
|
|
42 |
|
private List comments; |
43 |
|
|
44 |
|
public void addComment( String comment ) |
45 |
|
{ |
46 |
0 |
if ( comments == null ) |
47 |
|
{ |
48 |
0 |
comments = new ArrayList(); |
49 |
|
} |
50 |
0 |
comments.add( comment ); |
51 |
0 |
} |
52 |
|
|
53 |
|
public String getFixVersion() |
54 |
|
{ |
55 |
0 |
return fixVersion; |
56 |
|
} |
57 |
|
|
58 |
|
public void setFixVersion( String fixVersion ) |
59 |
|
{ |
60 |
0 |
this.fixVersion = fixVersion; |
61 |
0 |
} |
62 |
|
|
63 |
|
public String getComment() |
64 |
|
{ |
65 |
0 |
return comment; |
66 |
|
} |
67 |
|
|
68 |
|
public void setComment( String comment ) |
69 |
|
{ |
70 |
0 |
this.comment = comment; |
71 |
0 |
} |
72 |
|
|
73 |
|
public String getTitle() |
74 |
|
{ |
75 |
0 |
return title; |
76 |
|
} |
77 |
|
|
78 |
|
public void setTitle( String title ) |
79 |
|
{ |
80 |
0 |
this.title = title; |
81 |
0 |
} |
82 |
|
|
83 |
|
public void setType( String type ) |
84 |
|
{ |
85 |
0 |
this.type = type; |
86 |
0 |
} |
87 |
|
|
88 |
|
public String getType() |
89 |
|
{ |
90 |
0 |
return this.type; |
91 |
|
} |
92 |
|
|
93 |
|
public void setReporter( String reporter ) |
94 |
|
{ |
95 |
0 |
this.reporter = reporter; |
96 |
0 |
} |
97 |
|
|
98 |
|
public String getReporter() |
99 |
|
{ |
100 |
0 |
return this.reporter; |
101 |
|
} |
102 |
|
|
103 |
|
public List getComments() |
104 |
|
{ |
105 |
0 |
return comments; |
106 |
|
} |
107 |
|
} |