1
2
3
4
5
6
7
8 package org.apache.maven.settings;
9
10
11
12
13
14
15
16
17
18
19 @SuppressWarnings( "all" )
20 public class Server
21 extends IdentifiableBase
22 implements java.io.Serializable, java.lang.Cloneable
23 {
24
25
26
27
28
29
30
31
32
33
34
35
36 private String username;
37
38
39
40
41
42
43
44
45
46 private String password;
47
48
49
50
51
52
53
54
55 private String privateKey;
56
57
58
59
60
61
62
63
64
65 private String passphrase;
66
67
68
69
70
71
72
73
74 private String filePermissions;
75
76
77
78
79
80
81
82
83
84 private String directoryPermissions;
85
86
87
88
89
90
91
92
93 private Object configuration;
94
95
96
97
98
99
100
101
102
103
104
105 public Server clone()
106 {
107 try
108 {
109 Server copy = (Server) super.clone();
110
111 if ( this.configuration != null )
112 {
113 copy.configuration = new org.codehaus.plexus.util.xml.Xpp3Dom( (org.codehaus.plexus.util.xml.Xpp3Dom) this.configuration );
114 }
115
116 return copy;
117 }
118 catch ( java.lang.Exception ex )
119 {
120 throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
121 + " does not support clone()" ).initCause( ex );
122 }
123 }
124
125
126
127
128
129
130 public Object getConfiguration()
131 {
132 return this.configuration;
133 }
134
135
136
137
138
139
140 public String getDirectoryPermissions()
141 {
142 return this.directoryPermissions;
143 }
144
145
146
147
148
149
150 public String getFilePermissions()
151 {
152 return this.filePermissions;
153 }
154
155
156
157
158
159
160
161 public String getPassphrase()
162 {
163 return this.passphrase;
164 }
165
166
167
168
169
170
171
172 public String getPassword()
173 {
174 return this.password;
175 }
176
177
178
179
180
181
182 public String getPrivateKey()
183 {
184 return this.privateKey;
185 }
186
187
188
189
190
191
192 public String getUsername()
193 {
194 return this.username;
195 }
196
197
198
199
200
201
202 public void setConfiguration( Object configuration )
203 {
204 this.configuration = configuration;
205 }
206
207
208
209
210
211
212 public void setDirectoryPermissions( String directoryPermissions )
213 {
214 this.directoryPermissions = directoryPermissions;
215 }
216
217
218
219
220
221
222 public void setFilePermissions( String filePermissions )
223 {
224 this.filePermissions = filePermissions;
225 }
226
227
228
229
230
231
232
233 public void setPassphrase( String passphrase )
234 {
235 this.passphrase = passphrase;
236 }
237
238
239
240
241
242
243
244 public void setPassword( String password )
245 {
246 this.password = password;
247 }
248
249
250
251
252
253
254 public void setPrivateKey( String privateKey )
255 {
256 this.privateKey = privateKey;
257 }
258
259
260
261
262
263
264 public void setUsername( String username )
265 {
266 this.username = username;
267 }
268
269 }