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 Summary
Fields inherited from class org.apache.maven.settings.TrackableBase
GLOBAL_LEVEL, USER_LEVEL
-
Constructor Summary
-
Method Summary
Modifier 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.void
setConfiguration
(Object configuration) Set extra configuration for the transport layer.void
setDirectoryPermissions
(String directoryPermissions) Set the permissions for directories when they are created.void
setFilePermissions
(String filePermissions) Set the permissions for files when they are created.void
setPassphrase
(String passphrase) Set the passphrase used in conjunction with the privateKey to authenticate.void
setPassword
(String password) Set the password used in conjunction with the username to authenticate.void
setPrivateKey
(String privateKey) Set the private key location used to authenticate.void
setUsername
(String username) Set the username used to authenticate.Methods inherited from class org.apache.maven.settings.IdentifiableBase
getId, setId
Methods inherited from class org.apache.maven.settings.TrackableBase
getSourceLevel, setSourceLevel
-
Constructor Details
-
Server
public Server()
-
-
Method Details
-
clone
Method clone.- Overrides:
clone
in classIdentifiableBase
- Returns:
- Server
-
getConfiguration
Get extra configuration for the transport layer.- Returns:
- Object
-
getDirectoryPermissions
Get the permissions for directories when they are created.- Returns:
- String
-
getFilePermissions
Get the permissions for files when they are created.- Returns:
- String
-
getPassphrase
Get the passphrase used in conjunction with the privateKey to authenticate.- Returns:
- String
-
getPassword
Get the password used in conjunction with the username to authenticate.- Returns:
- String
-
getPrivateKey
Get the private key location used to authenticate.- Returns:
- String
-
getUsername
Get the username used to authenticate.- Returns:
- String
-
setConfiguration
Set extra configuration for the transport layer.- Parameters:
configuration
- a configuration object.
-
setDirectoryPermissions
Set the permissions for directories when they are created.- Parameters:
directoryPermissions
- a directoryPermissions object.
-
setFilePermissions
Set the permissions for files when they are created.- Parameters:
filePermissions
- a filePermissions object.
-
setPassphrase
Set the passphrase used in conjunction with the privateKey to authenticate.- Parameters:
passphrase
- a passphrase object.
-
setPassword
Set the password used in conjunction with the username to authenticate.- Parameters:
password
- a password object.
-
setPrivateKey
Set the private key location used to authenticate.- Parameters:
privateKey
- a privateKey object.
-
setUsername
Set the username used to authenticate.- Parameters:
username
- a username object.
-