1
2
3
4
5
6
7
8 package org.apache.maven.continuum.xmlrpc.project;
9
10
11
12
13
14 import org.apache.continuum.xmlrpc.release.ContinuumReleaseResult;
15 import org.apache.continuum.xmlrpc.repository.AbstractPurgeConfiguration;
16 import org.apache.continuum.xmlrpc.repository.DirectoryPurgeConfiguration;
17 import org.apache.continuum.xmlrpc.repository.LocalRepository;
18 import org.apache.continuum.xmlrpc.repository.RepositoryPurgeConfiguration;
19 import org.apache.continuum.xmlrpc.utils.BuildTrigger;
20 import org.apache.maven.continuum.xmlrpc.scm.ChangeFile;
21 import org.apache.maven.continuum.xmlrpc.scm.ChangeSet;
22 import org.apache.maven.continuum.xmlrpc.scm.ScmResult;
23 import org.apache.maven.continuum.xmlrpc.system.Installation;
24 import org.apache.maven.continuum.xmlrpc.system.Profile;
25 import org.apache.maven.continuum.xmlrpc.system.SystemConfiguration;
26
27
28
29
30
31
32 @SuppressWarnings( "all" )
33 public class ReleaseListenerSummary
34 implements java.io.Serializable
35 {
36
37
38
39
40
41
42
43
44 private java.util.List<String> phases;
45
46
47
48
49 private java.util.List<String> completedPhases;
50
51
52
53
54 private String inProgress;
55
56
57
58
59 private int state = 0;
60
61
62
63
64 private String error;
65
66
67
68
69 private String username;
70
71
72
73
74
75
76
77
78
79
80
81 public void addCompletedPhase( String string )
82 {
83 getCompletedPhases().add( string );
84 }
85
86
87
88
89
90
91 public void addPhase( String string )
92 {
93 getPhases().add( string );
94 }
95
96
97
98
99
100
101 public java.util.List<String> getCompletedPhases()
102 {
103 if ( this.completedPhases == null )
104 {
105 this.completedPhases = new java.util.ArrayList<String>();
106 }
107
108 return this.completedPhases;
109 }
110
111
112
113
114
115
116 public String getError()
117 {
118 return this.error;
119 }
120
121
122
123
124
125
126 public String getInProgress()
127 {
128 return this.inProgress;
129 }
130
131
132
133
134
135
136 public java.util.List<String> getPhases()
137 {
138 if ( this.phases == null )
139 {
140 this.phases = new java.util.ArrayList<String>();
141 }
142
143 return this.phases;
144 }
145
146
147
148
149
150
151 public int getState()
152 {
153 return this.state;
154 }
155
156
157
158
159
160
161 public String getUsername()
162 {
163 return this.username;
164 }
165
166
167
168
169
170
171 public void removeCompletedPhase( String string )
172 {
173 getCompletedPhases().remove( string );
174 }
175
176
177
178
179
180
181 public void removePhase( String string )
182 {
183 getPhases().remove( string );
184 }
185
186
187
188
189
190
191 public void setCompletedPhases( java.util.List<String> completedPhases )
192 {
193 this.completedPhases = completedPhases;
194 }
195
196
197
198
199
200
201 public void setError( String error )
202 {
203 this.error = error;
204 }
205
206
207
208
209
210
211 public void setInProgress( String inProgress )
212 {
213 this.inProgress = inProgress;
214 }
215
216
217
218
219
220
221 public void setPhases( java.util.List<String> phases )
222 {
223 this.phases = phases;
224 }
225
226
227
228
229
230
231 public void setState( int state )
232 {
233 this.state = state;
234 }
235
236
237
238
239
240
241 public void setUsername( String username )
242 {
243 this.username = username;
244 }
245
246 }