1
2
3
4
5
6
7
8 package org.apache.maven.continuum.xmlrpc.system;
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.project.AddingResult;
21 import org.apache.maven.continuum.xmlrpc.project.BuildAgentConfiguration;
22 import org.apache.maven.continuum.xmlrpc.project.BuildAgentGroupConfiguration;
23 import org.apache.maven.continuum.xmlrpc.project.BuildDefinition;
24 import org.apache.maven.continuum.xmlrpc.project.BuildDefinitionTemplate;
25 import org.apache.maven.continuum.xmlrpc.project.BuildProjectTask;
26 import org.apache.maven.continuum.xmlrpc.project.BuildResult;
27 import org.apache.maven.continuum.xmlrpc.project.BuildResultSummary;
28 import org.apache.maven.continuum.xmlrpc.project.ContinuumProjectState;
29 import org.apache.maven.continuum.xmlrpc.project.Project;
30 import org.apache.maven.continuum.xmlrpc.project.ProjectDependency;
31 import org.apache.maven.continuum.xmlrpc.project.ProjectDeveloper;
32 import org.apache.maven.continuum.xmlrpc.project.ProjectGroup;
33 import org.apache.maven.continuum.xmlrpc.project.ProjectGroupSummary;
34 import org.apache.maven.continuum.xmlrpc.project.ProjectNotifier;
35 import org.apache.maven.continuum.xmlrpc.project.ProjectScmRoot;
36 import org.apache.maven.continuum.xmlrpc.project.ProjectSummary;
37 import org.apache.maven.continuum.xmlrpc.project.ReleaseListenerSummary;
38 import org.apache.maven.continuum.xmlrpc.project.Schedule;
39 import org.apache.maven.continuum.xmlrpc.scm.ChangeFile;
40 import org.apache.maven.continuum.xmlrpc.scm.ChangeSet;
41 import org.apache.maven.continuum.xmlrpc.scm.ScmResult;
42
43
44
45
46
47
48 @SuppressWarnings( "all" )
49 public class Installation
50 implements java.io.Serializable
51 {
52
53
54
55
56
57
58
59
60 private String type;
61
62
63
64
65 private String varValue;
66
67
68
69
70 private String varName;
71
72
73
74
75 private String name;
76
77
78
79
80 private int installationId = 0;
81
82
83
84
85
86
87
88
89
90
91
92
93 public boolean equals( Object other )
94 {
95 if ( this == other )
96 {
97 return true;
98 }
99
100 if ( !( other instanceof Installation ) )
101 {
102 return false;
103 }
104
105 Installation that = (Installation) other;
106 boolean result = true;
107
108 result = result && installationId == that.installationId;
109
110 return result;
111 }
112
113
114
115
116
117
118 public int getInstallationId()
119 {
120 return this.installationId;
121 }
122
123
124
125
126
127
128 public String getName()
129 {
130 return this.name;
131 }
132
133
134
135
136
137
138 public String getType()
139 {
140 return this.type;
141 }
142
143
144
145
146
147
148 public String getVarName()
149 {
150 return this.varName;
151 }
152
153
154
155
156
157
158 public String getVarValue()
159 {
160 return this.varValue;
161 }
162
163
164
165
166
167
168 public int hashCode()
169 {
170 int result = 17;
171
172 result = 37 * result + (int) installationId;
173
174 return result;
175 }
176
177
178
179
180
181
182 public void setInstallationId( int installationId )
183 {
184 this.installationId = installationId;
185 }
186
187
188
189
190
191
192 public void setName( String name )
193 {
194 this.name = name;
195 }
196
197
198
199
200
201
202 public void setType( String type )
203 {
204 this.type = type;
205 }
206
207
208
209
210
211
212 public void setVarName( String varName )
213 {
214 this.varName = varName;
215 }
216
217
218
219
220
221
222 public void setVarValue( String varValue )
223 {
224 this.varValue = varValue;
225 }
226
227
228
229
230
231
232 public java.lang.String toString()
233 {
234 StringBuilder buf = new StringBuilder( 128 );
235
236 buf.append( "installationId = '" );
237 buf.append( getInstallationId() );
238 buf.append( "'" );
239
240 return buf.toString();
241 }
242
243 }