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.maven.continuum.xmlrpc.scm.ChangeFile;
20 import org.apache.maven.continuum.xmlrpc.scm.ChangeSet;
21 import org.apache.maven.continuum.xmlrpc.scm.ScmResult;
22 import org.apache.maven.continuum.xmlrpc.system.Installation;
23 import org.apache.maven.continuum.xmlrpc.system.Profile;
24 import org.apache.maven.continuum.xmlrpc.system.SystemConfiguration;
25
26
27
28
29
30
31 @SuppressWarnings( "all" )
32 public class Project
33 extends ProjectSummary
34 implements java.io.Serializable
35 {
36
37
38
39
40
41
42
43
44 private ProjectDependency parent;
45
46
47
48
49 private java.util.List<ProjectDeveloper> developers;
50
51
52
53
54 private java.util.List<ProjectDependency> dependencies;
55
56
57
58
59 private java.util.List<ProjectNotifier> notifiers;
60
61
62
63
64 private java.util.List<BuildDefinition> buildDefinitions;
65
66
67
68
69
70
71
72
73
74
75
76 public void addBuildDefinition( BuildDefinition buildDefinition )
77 {
78 getBuildDefinitions().add( buildDefinition );
79 }
80
81
82
83
84
85
86 public void addDependency( ProjectDependency projectDependency )
87 {
88 getDependencies().add( projectDependency );
89 }
90
91
92
93
94
95
96 public void addDeveloper( ProjectDeveloper projectDeveloper )
97 {
98 getDevelopers().add( projectDeveloper );
99 }
100
101
102
103
104
105
106 public void addNotifier( ProjectNotifier projectNotifier )
107 {
108 getNotifiers().add( projectNotifier );
109 }
110
111
112
113
114
115
116 public java.util.List<BuildDefinition> getBuildDefinitions()
117 {
118 if ( this.buildDefinitions == null )
119 {
120 this.buildDefinitions = new java.util.ArrayList<BuildDefinition>();
121 }
122
123 return this.buildDefinitions;
124 }
125
126
127
128
129
130
131 public java.util.List<ProjectDependency> getDependencies()
132 {
133 if ( this.dependencies == null )
134 {
135 this.dependencies = new java.util.ArrayList<ProjectDependency>();
136 }
137
138 return this.dependencies;
139 }
140
141
142
143
144
145
146 public java.util.List<ProjectDeveloper> getDevelopers()
147 {
148 if ( this.developers == null )
149 {
150 this.developers = new java.util.ArrayList<ProjectDeveloper>();
151 }
152
153 return this.developers;
154 }
155
156
157
158
159
160
161 public java.util.List<ProjectNotifier> getNotifiers()
162 {
163 if ( this.notifiers == null )
164 {
165 this.notifiers = new java.util.ArrayList<ProjectNotifier>();
166 }
167
168 return this.notifiers;
169 }
170
171
172
173
174
175
176 public ProjectDependency getParent()
177 {
178 return this.parent;
179 }
180
181
182
183
184
185
186 public void removeBuildDefinition( BuildDefinition buildDefinition )
187 {
188 getBuildDefinitions().remove( buildDefinition );
189 }
190
191
192
193
194
195
196 public void removeDependency( ProjectDependency projectDependency )
197 {
198 getDependencies().remove( projectDependency );
199 }
200
201
202
203
204
205
206 public void removeDeveloper( ProjectDeveloper projectDeveloper )
207 {
208 getDevelopers().remove( projectDeveloper );
209 }
210
211
212
213
214
215
216 public void removeNotifier( ProjectNotifier projectNotifier )
217 {
218 getNotifiers().remove( projectNotifier );
219 }
220
221
222
223
224
225
226 public void setBuildDefinitions( java.util.List<BuildDefinition> buildDefinitions )
227 {
228 this.buildDefinitions = buildDefinitions;
229 }
230
231
232
233
234
235
236 public void setDependencies( java.util.List<ProjectDependency> dependencies )
237 {
238 this.dependencies = dependencies;
239 }
240
241
242
243
244
245
246 public void setDevelopers( java.util.List<ProjectDeveloper> developers )
247 {
248 this.developers = developers;
249 }
250
251
252
253
254
255
256 public void setNotifiers( java.util.List<ProjectNotifier> notifiers )
257 {
258 this.notifiers = notifiers;
259 }
260
261
262
263
264
265
266 public void setParent( ProjectDependency parent )
267 {
268 this.parent = parent;
269 }
270
271 }