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