Class FTPConnectionSpec

  • All Implemented Interfaces:
    javax.resource.cci.ConnectionSpec, org.ikasan.connector.base.outbound.EISConnectionProperties

    public class FTPConnectionSpec
    extends org.ikasan.connector.base.outbound.EISConnectionSpec
    This is an class representing the connection specific application properties passed to the getConnection method.
    Author:
    Ikasan Development Team
    • Constructor Detail

      • FTPConnectionSpec

        public FTPConnectionSpec()
        Default Constructor.
    • Method Detail

      • getActive

        public java.lang.Boolean getActive()
        Getter for active
        Returns:
        active
      • setActive

        public void setActive​(java.lang.Boolean active)
        Set active
        Parameters:
        active - active/passive mode.
      • getCleanupJournalOnComplete

        public java.lang.Boolean getCleanupJournalOnComplete()
        Getter for cleanupJournalOnComplete
        Returns:
        cleanupJournalOnComplete
      • setCleanupJournalOnComplete

        public void setCleanupJournalOnComplete​(java.lang.Boolean cleanupJournalOnComplete)
        Setter for cleanupJournalOnComplete
        Parameters:
        cleanupJournalOnComplete - Flag to clean transaction journal after complete.
      • getRemoteHostname

        public java.lang.String getRemoteHostname()
        Get the host
        Returns:
        the host
      • setRemoteHostname

        public void setRemoteHostname​(java.lang.String remoteHostname)
        Set the host
        Parameters:
        remoteHostname - - the host
      • getMaxRetryAttempts

        public java.lang.Integer getMaxRetryAttempts()
        Get the max retry attempts
        Returns:
        the max retry attempts
      • setMaxRetryAttempts

        public void setMaxRetryAttempts​(java.lang.Integer maxRetryAttempts)
        Set the max retry attempts
        Parameters:
        maxRetryAttempts - Maximum connection attempts before failure.
      • getPassword

        public java.lang.String getPassword()
        Get the password
        Returns:
        the password
      • setPassword

        public void setPassword​(java.lang.String password)
        Set the password
        Parameters:
        password - User password for FTP host.
      • getRemotePort

        public java.lang.Integer getRemotePort()
        Gets remote port number.
        Returns:
        remotePort
      • setRemotePort

        public void setRemotePort​(java.lang.Integer remotePort)
        Sets the value of remotePort.
        Parameters:
        remotePort - The remote port number.
      • getUsername

        public java.lang.String getUsername()
        Get the username
        Returns:
        the username
      • setUsername

        public void setUsername​(java.lang.String username)
        Set the username
        Parameters:
        username - User with privilege to connect to FTP host.
      • getPollTime

        public java.lang.Integer getPollTime()
        Getter for pollTime
        Returns:
        Integer
      • setPollTime

        public void setPollTime​(java.lang.Integer pollTime)
        Setter for pollTime
        Parameters:
        pollTime - Initial polling time
      • getSystemKey

        public java.lang.String getSystemKey()
        Getter for systemKey
        Returns:
        systemKey
      • setSystemKey

        public void setSystemKey​(java.lang.String systemKey)
        Setter for systemKey
        Parameters:
        systemKey - The system key to set
      • getConnectionTimeout

        public java.lang.Integer getConnectionTimeout()
        Get connection timeout
        Returns:
        Integer - connectionTimeout
      • setConnectionTimeout

        public void setConnectionTimeout​(java.lang.Integer connectionTimeout)
        Set connection timeout
        Parameters:
        connectionTimeout - -
      • getDataTimeout

        public java.lang.Integer getDataTimeout()
        Get data connection timeout
        Returns:
        Integer - dataTimeout
      • setDataTimeout

        public void setDataTimeout​(java.lang.Integer dataTimeout)
        Set data timeout
        Parameters:
        dataTimeout - The data timeout in ms
      • getSocketTimeout

        public java.lang.Integer getSocketTimeout()
        Get socket connection timeout
        Returns:
        Integer - socketTimeout
      • setSocketTimeout

        public void setSocketTimeout​(java.lang.Integer socketTimeout)
        Set socket timeout
        Parameters:
        socketTimeout - The socket timeout in ms
      • getFTPS

        public java.lang.Boolean getFTPS()
      • setFTPS

        public void setFTPS​(java.lang.Boolean FTPS)
      • getFtpsPort

        public java.lang.Integer getFtpsPort()
      • setFtpsPort

        public void setFtpsPort​(java.lang.Integer ftpsPort)
      • getFtpsProtocol

        public java.lang.String getFtpsProtocol()
      • setFtpsProtocol

        public void setFtpsProtocol​(java.lang.String ftpsProtocol)
      • getFtpsIsImplicit

        public java.lang.Boolean getFtpsIsImplicit()
      • setFtpsIsImplicit

        public void setFtpsIsImplicit​(java.lang.Boolean ftpsIsImplicit)
      • getFtpsKeyStoreFilePath

        public java.lang.String getFtpsKeyStoreFilePath()
      • setFtpsKeyStoreFilePath

        public void setFtpsKeyStoreFilePath​(java.lang.String ftpsKeyStoreFilePath)
      • getFtpsKeyStoreFilePassword

        public java.lang.String getFtpsKeyStoreFilePassword()
      • setFtpsKeyStoreFilePassword

        public void setFtpsKeyStoreFilePassword​(java.lang.String ftpsKeyStoreFilePassword)
      • toString

        public java.lang.String toString()
        String representation of the ConnectionSpec
        Overrides:
        toString in class java.lang.Object