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 ProjectGroup
33 extends ProjectGroupSummary
34 implements java.io.Serializable
35 {
36
37
38
39
40
41
42
43
44 private java.util.List<ProjectSummary> projects;
45
46
47
48
49 private java.util.List<ProjectNotifier> notifiers;
50
51
52
53
54 private java.util.List<BuildDefinition> buildDefinitions;
55
56
57
58
59
60
61
62
63
64
65
66 public void addBuildDefinition( BuildDefinition buildDefinition )
67 {
68 getBuildDefinitions().add( buildDefinition );
69 }
70
71
72
73
74
75
76 public void addNotifier( ProjectNotifier projectNotifier )
77 {
78 getNotifiers().add( projectNotifier );
79 }
80
81
82
83
84
85
86 public void addProject( ProjectSummary projectSummary )
87 {
88 getProjects().add( projectSummary );
89 }
90
91
92
93
94
95
96 public java.util.List<BuildDefinition> getBuildDefinitions()
97 {
98 if ( this.buildDefinitions == null )
99 {
100 this.buildDefinitions = new java.util.ArrayList<BuildDefinition>();
101 }
102
103 return this.buildDefinitions;
104 }
105
106
107
108
109
110
111 public java.util.List<ProjectNotifier> getNotifiers()
112 {
113 if ( this.notifiers == null )
114 {
115 this.notifiers = new java.util.ArrayList<ProjectNotifier>();
116 }
117
118 return this.notifiers;
119 }
120
121
122
123
124
125
126 public java.util.List<ProjectSummary> getProjects()
127 {
128 if ( this.projects == null )
129 {
130 this.projects = new java.util.ArrayList<ProjectSummary>();
131 }
132
133 return this.projects;
134 }
135
136
137
138
139
140
141 public void removeBuildDefinition( BuildDefinition buildDefinition )
142 {
143 getBuildDefinitions().remove( buildDefinition );
144 }
145
146
147
148
149
150
151 public void removeNotifier( ProjectNotifier projectNotifier )
152 {
153 getNotifiers().remove( projectNotifier );
154 }
155
156
157
158
159
160
161 public void removeProject( ProjectSummary projectSummary )
162 {
163 getProjects().remove( projectSummary );
164 }
165
166
167
168
169
170
171 public void setBuildDefinitions( java.util.List<BuildDefinition> buildDefinitions )
172 {
173 this.buildDefinitions = buildDefinitions;
174 }
175
176
177
178
179
180
181 public void setNotifiers( java.util.List<ProjectNotifier> notifiers )
182 {
183 this.notifiers = notifiers;
184 }
185
186
187
188
189
190
191 public void setProjects( java.util.List<ProjectSummary> projects )
192 {
193 this.projects = projects;
194 }
195
196 }