Class Server

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class Server
    extends IdentifiableBase
    implements java.io.Serializable, java.lang.Cloneable
    The <server> element contains informations required to a server settings.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Server()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Server

        public Server()
    • Method Detail

      • getConfiguration

        public java.lang.Object getConfiguration()
        Get extra configuration for the transport layer.
        Returns:
        Object
      • getDirectoryPermissions

        public java.lang.String getDirectoryPermissions()
        Get the permissions for directories when they are created.
        Returns:
        String
      • getFilePermissions

        public java.lang.String getFilePermissions()
        Get the permissions for files when they are created.
        Returns:
        String
      • getPassphrase

        public java.lang.String getPassphrase()
        Get the passphrase used in conjunction with the privateKey to authenticate.
        Returns:
        String
      • getPassword

        public java.lang.String getPassword()
        Get the password used in conjunction with the username to authenticate.
        Returns:
        String
      • getPrivateKey

        public java.lang.String getPrivateKey()
        Get the private key location used to authenticate.
        Returns:
        String
      • getUsername

        public java.lang.String getUsername()
        Get the username used to authenticate.
        Returns:
        String
      • setConfiguration

        public void setConfiguration​(java.lang.Object configuration)
        Set extra configuration for the transport layer.
        Parameters:
        configuration - a configuration object.
      • setDirectoryPermissions

        public void setDirectoryPermissions​(java.lang.String directoryPermissions)
        Set the permissions for directories when they are created.
        Parameters:
        directoryPermissions - a directoryPermissions object.
      • setFilePermissions

        public void setFilePermissions​(java.lang.String filePermissions)
        Set the permissions for files when they are created.
        Parameters:
        filePermissions - a filePermissions object.
      • setPassphrase

        public void setPassphrase​(java.lang.String passphrase)
        Set the passphrase used in conjunction with the privateKey to authenticate.
        Parameters:
        passphrase - a passphrase object.
      • setPassword

        public void setPassword​(java.lang.String password)
        Set the password used in conjunction with the username to authenticate.
        Parameters:
        password - a password object.
      • setPrivateKey

        public void setPrivateKey​(java.lang.String privateKey)
        Set the private key location used to authenticate.
        Parameters:
        privateKey - a privateKey object.
      • setUsername

        public void setUsername​(java.lang.String username)
        Set the username used to authenticate.
        Parameters:
        username - a username object.