1 /* 2 =================== DO NOT EDIT THIS FILE ==================== 3 Generated by Modello 1.0.1 on 2009-09-09 03:30:24, 4 any modifications will be overwritten. 5 ============================================================== 6 */ 7 8 package org.apache.maven.settings; 9 10 /** 11 * 12 * 13 * The <code><server></code> element contains 14 * informations required to a server settings. 15 * 16 * 17 * @version $Revision$ $Date$ 18 */ 19 public class Server 20 extends IdentifiableBase 21 implements java.io.Serializable 22 { 23 24 //--------------------------/ 25 //- Class/Member Variables -/ 26 //--------------------------/ 27 28 /** 29 * 30 * 31 * The username used to authenticate. 32 * 33 * 34 */ 35 private String username; 36 37 /** 38 * 39 * 40 * The password used in conjunction with the 41 * username to authenticate. 42 * 43 * 44 */ 45 private String password; 46 47 /** 48 * 49 * 50 * The private key location used to authenticate. 51 * 52 * 53 */ 54 private String privateKey; 55 56 /** 57 * 58 * 59 * The passphrase used in conjunction with the 60 * privateKey to authenticate. 61 * 62 * 63 */ 64 private String passphrase; 65 66 /** 67 * 68 * 69 * The permissions for files when they are created. 70 * 71 * 72 */ 73 private String filePermissions; 74 75 /** 76 * 77 * 78 * The permissions for directories when they are 79 * created. 80 * 81 * 82 */ 83 private String directoryPermissions; 84 85 /** 86 * 87 * 88 * Extra configuration for the transport layer. 89 * 90 * 91 */ 92 private Object configuration; 93 94 95 //-----------/ 96 //- Methods -/ 97 //-----------/ 98 99 /** 100 * Get extra configuration for the transport layer. 101 * 102 * @return Object 103 */ 104 public Object getConfiguration() 105 { 106 return this.configuration; 107 } //-- Object getConfiguration() 108 109 /** 110 * Get the permissions for directories when they are created. 111 * 112 * @return String 113 */ 114 public String getDirectoryPermissions() 115 { 116 return this.directoryPermissions; 117 } //-- String getDirectoryPermissions() 118 119 /** 120 * Get the permissions for files when they are created. 121 * 122 * @return String 123 */ 124 public String getFilePermissions() 125 { 126 return this.filePermissions; 127 } //-- String getFilePermissions() 128 129 /** 130 * Get the passphrase used in conjunction with the privateKey 131 * to authenticate. 132 * 133 * @return String 134 */ 135 public String getPassphrase() 136 { 137 return this.passphrase; 138 } //-- String getPassphrase() 139 140 /** 141 * Get the password used in conjunction with the username to 142 * authenticate. 143 * 144 * @return String 145 */ 146 public String getPassword() 147 { 148 return this.password; 149 } //-- String getPassword() 150 151 /** 152 * Get the private key location used to authenticate. 153 * 154 * @return String 155 */ 156 public String getPrivateKey() 157 { 158 return this.privateKey; 159 } //-- String getPrivateKey() 160 161 /** 162 * Get the username used to authenticate. 163 * 164 * @return String 165 */ 166 public String getUsername() 167 { 168 return this.username; 169 } //-- String getUsername() 170 171 /** 172 * Set extra configuration for the transport layer. 173 * 174 * @param configuration 175 */ 176 public void setConfiguration( Object configuration ) 177 { 178 this.configuration = configuration; 179 } //-- void setConfiguration( Object ) 180 181 /** 182 * Set the permissions for directories when they are created. 183 * 184 * @param directoryPermissions 185 */ 186 public void setDirectoryPermissions( String directoryPermissions ) 187 { 188 this.directoryPermissions = directoryPermissions; 189 } //-- void setDirectoryPermissions( String ) 190 191 /** 192 * Set the permissions for files when they are created. 193 * 194 * @param filePermissions 195 */ 196 public void setFilePermissions( String filePermissions ) 197 { 198 this.filePermissions = filePermissions; 199 } //-- void setFilePermissions( String ) 200 201 /** 202 * Set the passphrase used in conjunction with the privateKey 203 * to authenticate. 204 * 205 * @param passphrase 206 */ 207 public void setPassphrase( String passphrase ) 208 { 209 this.passphrase = passphrase; 210 } //-- void setPassphrase( String ) 211 212 /** 213 * Set the password used in conjunction with the username to 214 * authenticate. 215 * 216 * @param password 217 */ 218 public void setPassword( String password ) 219 { 220 this.password = password; 221 } //-- void setPassword( String ) 222 223 /** 224 * Set the private key location used to authenticate. 225 * 226 * @param privateKey 227 */ 228 public void setPrivateKey( String privateKey ) 229 { 230 this.privateKey = privateKey; 231 } //-- void setPrivateKey( String ) 232 233 /** 234 * Set the username used to authenticate. 235 * 236 * @param username 237 */ 238 public void setUsername( String username ) 239 { 240 this.username = username; 241 } //-- void setUsername( String ) 242 243 244 }