public class Server extends IdentifiableBase implements Serializable, Cloneable
<server>
element contains
informations required to a server settings.GLOBAL_LEVEL, USER_LEVEL
Constructor and Description |
---|
Server() |
Modifier and Type | Method and Description |
---|---|
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.
|
getId, setId
getSourceLevel, setSourceLevel
public Server()
public Server clone()
clone
in class IdentifiableBase
public Object getConfiguration()
public String getDirectoryPermissions()
public String getFilePermissions()
public String getPassphrase()
public String getPassword()
public String getPrivateKey()
public String getUsername()
public void setConfiguration(Object configuration)
configuration
- public void setDirectoryPermissions(String directoryPermissions)
directoryPermissions
- public void setFilePermissions(String filePermissions)
filePermissions
- public void setPassphrase(String passphrase)
passphrase
- public void setPassword(String password)
password
- public void setPrivateKey(String privateKey)
privateKey
- public void setUsername(String username)
username
- Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.