org.apache.maven.settings
Class Server

java.lang.Object
  extended by org.apache.maven.settings.TrackableBase
      extended by org.apache.maven.settings.IdentifiableBase
          extended by org.apache.maven.settings.Server
All Implemented Interfaces:
Serializable, Cloneable

public class Server
extends IdentifiableBase
implements Serializable, Cloneable

The <server> element contains informations required to a server settings.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.maven.settings.TrackableBase
GLOBAL_LEVEL, USER_LEVEL
 
Constructor Summary
Server()
           
 
Method Summary
 Server clone()
          Method clone.
 Object getConfiguration()
          Get extra configuration for the transport layer.
 String getDirectoryPermissions()
          Get the permissions for directories when they are created.
 String getFilePermissions()
          Get the permissions for files when they are created.
 String getPassphrase()
          Get the passphrase used in conjunction with the privateKey to authenticate.
 String getPassword()
          Get the password used in conjunction with the username to authenticate.
 String getPrivateKey()
          Get the private key location used to authenticate.
 String getUsername()
          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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Server

public Server()
Method Detail

clone

public Server clone()
Method clone.

Overrides:
clone in class IdentifiableBase
Returns:
Server

getConfiguration

public Object getConfiguration()
Get extra configuration for the transport layer.

Returns:
Object

getDirectoryPermissions

public String getDirectoryPermissions()
Get the permissions for directories when they are created.

Returns:
String

getFilePermissions

public String getFilePermissions()
Get the permissions for files when they are created.

Returns:
String

getPassphrase

public String getPassphrase()
Get the passphrase used in conjunction with the privateKey to authenticate.

Returns:
String

getPassword

public String getPassword()
Get the password used in conjunction with the username to authenticate.

Returns:
String

getPrivateKey

public String getPrivateKey()
Get the private key location used to authenticate.

Returns:
String

getUsername

public String getUsername()
Get the username used to authenticate.

Returns:
String

setConfiguration

public void setConfiguration(Object configuration)
Set extra configuration for the transport layer.

Parameters:
configuration -

setDirectoryPermissions

public void setDirectoryPermissions(String directoryPermissions)
Set the permissions for directories when they are created.

Parameters:
directoryPermissions -

setFilePermissions

public void setFilePermissions(String filePermissions)
Set the permissions for files when they are created.

Parameters:
filePermissions -

setPassphrase

public void setPassphrase(String passphrase)
Set the passphrase used in conjunction with the privateKey to authenticate.

Parameters:
passphrase -

setPassword

public void setPassword(String password)
Set the password used in conjunction with the username to authenticate.

Parameters:
password -

setPrivateKey

public void setPrivateKey(String privateKey)
Set the private key location used to authenticate.

Parameters:
privateKey -

setUsername

public void setUsername(String username)
Set the username used to authenticate.

Parameters:
username -


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.