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