1 package org.apache.maven.plugins.patchtracker.patching;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import java.io.Serializable;
23
24
25
26
27 public class PatchRepositoryResult
28 implements Serializable
29 {
30 private String title;
31
32 private String htmlUrl;
33
34 private String patchUrl;
35
36 private String description;
37
38 private String patchContent;
39
40 public PatchRepositoryResult()
41 {
42
43 }
44
45 public String getTitle()
46 {
47 return title;
48 }
49
50 public PatchRepositoryResult setTitle( String title )
51 {
52 this.title = title;
53 return this;
54 }
55
56 public String getHtmlUrl()
57 {
58 return htmlUrl;
59 }
60
61 public PatchRepositoryResult setHtmlUrl( String htmlUrl )
62 {
63 this.htmlUrl = htmlUrl;
64 return this;
65 }
66
67 public String getPatchUrl()
68 {
69 return patchUrl;
70 }
71
72 public PatchRepositoryResult setPatchUrl( String patchUrl )
73 {
74 this.patchUrl = patchUrl;
75 return this;
76 }
77
78 public String getDescription()
79 {
80 return description;
81 }
82
83 public PatchRepositoryResult setDescription( String description )
84 {
85 this.description = description;
86 return this;
87 }
88
89 public String getPatchContent()
90 {
91 return patchContent;
92 }
93
94 public PatchRepositoryResult setPatchContent( String patchContent )
95 {
96 this.patchContent = patchContent;
97 return this;
98 }
99
100 @Override
101 public String toString()
102 {
103 final StringBuilder sb = new StringBuilder();
104 sb.append( "PatchRepositoryResult" );
105 sb.append( "{title='" ).append( title ).append( '\'' );
106 sb.append( ", htmlUrl='" ).append( htmlUrl ).append( '\'' );
107 sb.append( ", patchUrl='" ).append( patchUrl ).append( '\'' );
108 sb.append( ", description='" ).append( description ).append( '\'' );
109 sb.append( ", patchContent='" ).append( patchContent ).append( '\'' );
110 sb.append( '}' );
111 return sb.toString();
112 }
113 }