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