public class Server extends IdentifiableBase implements java.io.Serializable, java.lang.Cloneable
<server>
element contains
informations required to a server settings.Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
configuration
Extra configuration for the transport layer.
|
private java.lang.String |
directoryPermissions
The permissions for directories when they are
created.
|
private java.lang.String |
filePermissions
The permissions for files when they are created.
|
private java.lang.String |
passphrase
The passphrase used in conjunction with the
privateKey to authenticate.
|
private java.lang.String |
password
The password used in conjunction with the
username to authenticate.
|
private java.lang.String |
privateKey
The private key location used to authenticate.
|
private java.lang.String |
username
The username used to authenticate.
|
GLOBAL_LEVEL, USER_LEVEL
Constructor and Description |
---|
Server() |
Modifier and Type | Method and Description |
---|---|
Server |
clone()
Method clone.
|
java.lang.Object |
getConfiguration()
Get extra configuration for the transport layer.
|
java.lang.String |
getDirectoryPermissions()
Get the permissions for directories when they are created.
|
java.lang.String |
getFilePermissions()
Get the permissions for files when they are created.
|
java.lang.String |
getPassphrase()
Get the passphrase used in conjunction with the privateKey
to authenticate.
|
java.lang.String |
getPassword()
Get the password used in conjunction with the username to
authenticate.
|
java.lang.String |
getPrivateKey()
Get the private key location used to authenticate.
|
java.lang.String |
getUsername()
Get the username used to authenticate.
|
void |
setConfiguration(java.lang.Object configuration)
Set extra configuration for the transport layer.
|
void |
setDirectoryPermissions(java.lang.String directoryPermissions)
Set the permissions for directories when they are created.
|
void |
setFilePermissions(java.lang.String filePermissions)
Set the permissions for files when they are created.
|
void |
setPassphrase(java.lang.String passphrase)
Set the passphrase used in conjunction with the privateKey
to authenticate.
|
void |
setPassword(java.lang.String password)
Set the password used in conjunction with the username to
authenticate.
|
void |
setPrivateKey(java.lang.String privateKey)
Set the private key location used to authenticate.
|
void |
setUsername(java.lang.String username)
Set the username used to authenticate.
|
getId, setId
getSourceLevel, setSourceLevel
private java.lang.String username
private java.lang.String password
private java.lang.String privateKey
private java.lang.String passphrase
private java.lang.String filePermissions
private java.lang.String directoryPermissions
private java.lang.Object configuration
public Server clone()
clone
in class IdentifiableBase
public java.lang.Object getConfiguration()
public java.lang.String getDirectoryPermissions()
public java.lang.String getFilePermissions()
public java.lang.String getPassphrase()
public java.lang.String getPassword()
public java.lang.String getPrivateKey()
public java.lang.String getUsername()
public void setConfiguration(java.lang.Object configuration)
configuration
- public void setDirectoryPermissions(java.lang.String directoryPermissions)
directoryPermissions
- public void setFilePermissions(java.lang.String filePermissions)
filePermissions
- public void setPassphrase(java.lang.String passphrase)
passphrase
- public void setPassword(java.lang.String password)
password
- public void setPrivateKey(java.lang.String privateKey)
privateKey
- public void setUsername(java.lang.String username)
username
-