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