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