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