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 String modelEncoding = "UTF-8";
48
49
50
51
52
53
54
55
56
57
58
59 public void addInstallation( Installation installation )
60 {
61 getInstallations().add( installation );
62 }
63
64
65
66
67
68
69 public String getBuildOutputDirectory()
70 {
71 return this.buildOutputDirectory;
72 }
73
74
75
76
77
78
79 public String getContinuumServerUrl()
80 {
81 return this.continuumServerUrl;
82 }
83
84
85
86
87
88
89 public java.util.List<Installation> getInstallations()
90 {
91 if ( this.installations == null )
92 {
93 this.installations = new java.util.ArrayList<Installation>();
94 }
95
96 return this.installations;
97 }
98
99
100
101
102
103
104 public String getModelEncoding()
105 {
106 return this.modelEncoding;
107 }
108
109
110
111
112
113
114 public String getWorkingDirectory()
115 {
116 return this.workingDirectory;
117 }
118
119
120
121
122
123
124 public void removeInstallation( Installation installation )
125 {
126 getInstallations().remove( installation );
127 }
128
129
130
131
132
133
134 public void setBuildOutputDirectory( String buildOutputDirectory )
135 {
136 this.buildOutputDirectory = buildOutputDirectory;
137 }
138
139
140
141
142
143
144 public void setContinuumServerUrl( String continuumServerUrl )
145 {
146 this.continuumServerUrl = continuumServerUrl;
147 }
148
149
150
151
152
153
154 public void setInstallations( java.util.List<Installation> installations )
155 {
156 this.installations = installations;
157 }
158
159
160
161
162
163
164 public void setModelEncoding( String modelEncoding )
165 {
166 this.modelEncoding = modelEncoding;
167 }
168
169
170
171
172
173
174 public void setWorkingDirectory( String workingDirectory )
175 {
176 this.workingDirectory = workingDirectory;
177 }
178
179 }