Package org.apache.maven.settings
Class Server
java.lang.Object
org.apache.maven.settings.TrackableBase
org.apache.maven.settings.IdentifiableBase
org.apache.maven.settings.Server
- All Implemented Interfaces:
- Serializable,- Cloneable
The 
<server> element contains
 informations required to a server settings.- Version:
- $Revision$ $Date$
- See Also:
- 
Field SummaryFields inherited from class org.apache.maven.settings.TrackableBaseGLOBAL_LEVEL, USER_LEVEL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Method clone.Get extra configuration for the transport layer.Get the permissions for directories when they are created.Get the permissions for files when they are created.Get the passphrase used in conjunction with the privateKey to authenticate.Get the password used in conjunction with the username to authenticate.Get the private key location used to authenticate.Get the username used to authenticate.voidsetConfiguration(Object configuration) Set extra configuration for the transport layer.voidsetDirectoryPermissions(String directoryPermissions) Set the permissions for directories when they are created.voidsetFilePermissions(String filePermissions) Set the permissions for files when they are created.voidsetPassphrase(String passphrase) Set the passphrase used in conjunction with the privateKey to authenticate.voidsetPassword(String password) Set the password used in conjunction with the username to authenticate.voidsetPrivateKey(String privateKey) Set the private key location used to authenticate.voidsetUsername(String username) Set the username used to authenticate.Methods inherited from class org.apache.maven.settings.IdentifiableBasegetId, setIdMethods inherited from class org.apache.maven.settings.TrackableBasegetSourceLevel, setSourceLevel
- 
Constructor Details- 
Serverpublic Server()
 
- 
- 
Method Details- 
cloneMethod clone.- Overrides:
- clonein class- IdentifiableBase
- Returns:
- Server
 
- 
getConfigurationGet extra configuration for the transport layer.- Returns:
- Object
 
- 
getDirectoryPermissionsGet the permissions for directories when they are created.- Returns:
- String
 
- 
getFilePermissionsGet the permissions for files when they are created.- Returns:
- String
 
- 
getPassphraseGet the passphrase used in conjunction with the privateKey to authenticate.- Returns:
- String
 
- 
getPasswordGet the password used in conjunction with the username to authenticate.- Returns:
- String
 
- 
getPrivateKeyGet the private key location used to authenticate.- Returns:
- String
 
- 
getUsernameGet the username used to authenticate.- Returns:
- String
 
- 
setConfigurationSet extra configuration for the transport layer.- Parameters:
- configuration- a configuration object.
 
- 
setDirectoryPermissionsSet the permissions for directories when they are created.- Parameters:
- directoryPermissions- a directoryPermissions object.
 
- 
setFilePermissionsSet the permissions for files when they are created.- Parameters:
- filePermissions- a filePermissions object.
 
- 
setPassphraseSet the passphrase used in conjunction with the privateKey to authenticate.- Parameters:
- passphrase- a passphrase object.
 
- 
setPasswordSet the password used in conjunction with the username to authenticate.- Parameters:
- password- a password object.
 
- 
setPrivateKeySet the private key location used to authenticate.- Parameters:
- privateKey- a privateKey object.
 
- 
setUsernameSet the username used to authenticate.- Parameters:
- username- a username object.
 
 
-