1
2
3
4
5
6
7
8 package org.apache.continuum.buildagent.model;
9
10
11
12
13
14
15 @SuppressWarnings( "all" )
16 public class ContinuumBuildAgentConfigurationModel
17 implements java.io.Serializable
18 {
19
20
21
22
23
24
25
26
27 private String buildOutputDirectory;
28
29
30
31
32 private String workingDirectory;
33
34
35
36
37 private String continuumServerUrl;
38
39
40
41
42 private java.util.List<Installation> installations;
43
44
45
46
47 private java.util.List<LocalRepository> localRepositories;
48
49
50
51
52 private String sharedSecretPassword;
53
54
55
56
57 private String modelEncoding = "UTF-8";
58
59
60
61
62
63
64
65
66
67
68
69 public void addInstallation( Installation installation )
70 {
71 getInstallations().add( installation );
72 }
73
74
75
76
77
78
79 public void addLocalRepository( LocalRepository localRepository )
80 {
81 getLocalRepositories().add( localRepository );
82 }
83
84
85
86
87
88
89 public String getBuildOutputDirectory()
90 {
91 return this.buildOutputDirectory;
92 }
93
94
95
96
97
98
99 public String getContinuumServerUrl()
100 {
101 return this.continuumServerUrl;
102 }
103
104
105
106
107
108
109 public java.util.List<Installation> getInstallations()
110 {
111 if ( this.installations == null )
112 {
113 this.installations = new java.util.ArrayList<Installation>();
114 }
115
116 return this.installations;
117 }
118
119
120
121
122
123
124 public java.util.List<LocalRepository> getLocalRepositories()
125 {
126 if ( this.localRepositories == null )
127 {
128 this.localRepositories = new java.util.ArrayList<LocalRepository>();
129 }
130
131 return this.localRepositories;
132 }
133
134
135
136
137
138
139 public String getModelEncoding()
140 {
141 return this.modelEncoding;
142 }
143
144
145
146
147
148
149 public String getSharedSecretPassword()
150 {
151 return this.sharedSecretPassword;
152 }
153
154
155
156
157
158
159 public String getWorkingDirectory()
160 {
161 return this.workingDirectory;
162 }
163
164
165
166
167
168
169 public void removeInstallation( Installation installation )
170 {
171 getInstallations().remove( installation );
172 }
173
174
175
176
177
178
179 public void removeLocalRepository( LocalRepository localRepository )
180 {
181 getLocalRepositories().remove( localRepository );
182 }
183
184
185
186
187
188
189 public void setBuildOutputDirectory( String buildOutputDirectory )
190 {
191 this.buildOutputDirectory = buildOutputDirectory;
192 }
193
194
195
196
197
198
199 public void setContinuumServerUrl( String continuumServerUrl )
200 {
201 this.continuumServerUrl = continuumServerUrl;
202 }
203
204
205
206
207
208
209 public void setInstallations( java.util.List<Installation> installations )
210 {
211 this.installations = installations;
212 }
213
214
215
216
217
218
219 public void setLocalRepositories( java.util.List<LocalRepository> localRepositories )
220 {
221 this.localRepositories = localRepositories;
222 }
223
224
225
226
227
228
229 public void setModelEncoding( String modelEncoding )
230 {
231 this.modelEncoding = modelEncoding;
232 }
233
234
235
236
237
238
239 public void setSharedSecretPassword( String sharedSecretPassword )
240 {
241 this.sharedSecretPassword = sharedSecretPassword;
242 }
243
244
245
246
247
248
249 public void setWorkingDirectory( String workingDirectory )
250 {
251 this.workingDirectory = workingDirectory;
252 }
253
254 }