Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
FixedIssue |
|
| 1.0;1 |
1 | /* | |
2 | * $Id: org.apache.maven.plugins.changes.model.FixedIssue.html 816588 2012-05-08 12:37:27Z hboutemy $ | |
3 | */ | |
4 | ||
5 | package org.apache.maven.plugins.changes.model; | |
6 | ||
7 | //---------------------------------/ | |
8 | //- Imported classes and packages -/ | |
9 | //---------------------------------/ | |
10 | ||
11 | import java.util.Date; | |
12 | ||
13 | /** | |
14 | * | |
15 | * A fixed issue. | |
16 | * | |
17 | * | |
18 | * @version $Revision: 816588 $ $Date: 2012-05-08 12:37:27 +0000 (Tue, 08 May 2012) $ | |
19 | */ | |
20 | 7 | public class FixedIssue implements java.io.Serializable { |
21 | ||
22 | ||
23 | //--------------------------/ | |
24 | //- Class/Member Variables -/ | |
25 | //--------------------------/ | |
26 | ||
27 | /** | |
28 | * | |
29 | * | |
30 | * <p>Id of the issue related to this change. | |
31 | * This is the id in your issue tracking system.</p> | |
32 | * <p>The Changes plugin will generate a URL out | |
33 | * of this id. The URL is constructed using the value of the | |
34 | * issueLinkTemplate parameter.</p> | |
35 | * <p>See the <a | |
36 | * href="changes-report.html">changes-report mojo</a> for more | |
37 | * details.</p> | |
38 | * | |
39 | * | |
40 | */ | |
41 | private String issue; | |
42 | ||
43 | ||
44 | //-----------/ | |
45 | //- Methods -/ | |
46 | //-----------/ | |
47 | ||
48 | /** | |
49 | * Get | |
50 | * | |
51 | * <p>Id of the issue related to this change. | |
52 | * This is the id in your issue tracking system.</p> | |
53 | * <p>The Changes plugin will generate a URL out | |
54 | * of this id. The URL is constructed using the value of the | |
55 | * issueLinkTemplate parameter.</p> | |
56 | * <p>See the <a | |
57 | * href="changes-report.html">changes-report mojo</a> for more | |
58 | * details.</p> | |
59 | * | |
60 | * | |
61 | * | |
62 | * @return String | |
63 | */ | |
64 | public String getIssue() | |
65 | { | |
66 | 2 | return this.issue; |
67 | } //-- String getIssue() | |
68 | ||
69 | /** | |
70 | * Set | |
71 | * | |
72 | * <p>Id of the issue related to this change. | |
73 | * This is the id in your issue tracking system.</p> | |
74 | * <p>The Changes plugin will generate a URL out | |
75 | * of this id. The URL is constructed using the value of the | |
76 | * issueLinkTemplate parameter.</p> | |
77 | * <p>See the <a | |
78 | * href="changes-report.html">changes-report mojo</a> for more | |
79 | * details.</p> | |
80 | * | |
81 | * | |
82 | * | |
83 | * @param issue | |
84 | */ | |
85 | public void setIssue(String issue) | |
86 | { | |
87 | 7 | this.issue = issue; |
88 | 7 | } //-- void setIssue(String) |
89 | ||
90 | ||
91 | 7 | private String modelEncoding = "UTF-8"; |
92 | ||
93 | /** | |
94 | * Set an encoding used for reading/writing the model. | |
95 | * | |
96 | * @param modelEncoding the encoding used when reading/writing the model. | |
97 | */ | |
98 | public void setModelEncoding( String modelEncoding ) | |
99 | { | |
100 | 0 | this.modelEncoding = modelEncoding; |
101 | 0 | } |
102 | ||
103 | /** | |
104 | * @return the current encoding used when reading/writing this model. | |
105 | */ | |
106 | public String getModelEncoding() | |
107 | { | |
108 | 0 | return modelEncoding; |
109 | } | |
110 | } |