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