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 | 0 | { |
42 | |
|
43 | 0 | } |
44 | |
|
45 | |
public String getTitle() |
46 | |
{ |
47 | 0 | return title; |
48 | |
} |
49 | |
|
50 | |
public PatchRepositoryResult setTitle( String title ) |
51 | |
{ |
52 | 0 | this.title = title; |
53 | 0 | return this; |
54 | |
} |
55 | |
|
56 | |
public String getHtmlUrl() |
57 | |
{ |
58 | 0 | return htmlUrl; |
59 | |
} |
60 | |
|
61 | |
public PatchRepositoryResult setHtmlUrl( String htmlUrl ) |
62 | |
{ |
63 | 0 | this.htmlUrl = htmlUrl; |
64 | 0 | return this; |
65 | |
} |
66 | |
|
67 | |
public String getPatchUrl() |
68 | |
{ |
69 | 0 | return patchUrl; |
70 | |
} |
71 | |
|
72 | |
public PatchRepositoryResult setPatchUrl( String patchUrl ) |
73 | |
{ |
74 | 0 | this.patchUrl = patchUrl; |
75 | 0 | return this; |
76 | |
} |
77 | |
|
78 | |
public String getDescription() |
79 | |
{ |
80 | 0 | return description; |
81 | |
} |
82 | |
|
83 | |
public PatchRepositoryResult setDescription( String description ) |
84 | |
{ |
85 | 0 | this.description = description; |
86 | 0 | return this; |
87 | |
} |
88 | |
|
89 | |
public String getPatchContent() |
90 | |
{ |
91 | 0 | return patchContent; |
92 | |
} |
93 | |
|
94 | |
public PatchRepositoryResult setPatchContent( String patchContent ) |
95 | |
{ |
96 | 0 | this.patchContent = patchContent; |
97 | 0 | return this; |
98 | |
} |
99 | |
|
100 | |
@Override |
101 | |
public String toString() |
102 | |
{ |
103 | 0 | final StringBuilder sb = new StringBuilder(); |
104 | 0 | sb.append( "PatchRepositoryResult" ); |
105 | 0 | sb.append( "{title='" ).append( title ).append( '\'' ); |
106 | 0 | sb.append( ", htmlUrl='" ).append( htmlUrl ).append( '\'' ); |
107 | 0 | sb.append( ", patchUrl='" ).append( patchUrl ).append( '\'' ); |
108 | 0 | sb.append( ", description='" ).append( description ).append( '\'' ); |
109 | 0 | sb.append( ", patchContent='" ).append( patchContent ).append( '\'' ); |
110 | 0 | sb.append( '}' ); |
111 | 0 | return sb.toString(); |
112 | |
} |
113 | |
} |