Class FTPConnectionSpec
- java.lang.Object
-
- org.ikasan.connector.base.outbound.EISConnectionSpec
-
- org.ikasan.connector.ftp.outbound.FTPConnectionSpec
-
- All Implemented Interfaces:
javax.resource.cci.ConnectionSpec,org.ikasan.connector.base.outbound.EISConnectionProperties
public class FTPConnectionSpec extends org.ikasan.connector.base.outbound.EISConnectionSpecThis is an class representing the connection specific application properties passed to the getConnection method.- Author:
- Ikasan Development Team
-
-
Constructor Summary
Constructors Constructor Description FTPConnectionSpec()Default Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleangetActive()Getter for activejava.lang.BooleangetCleanupJournalOnComplete()Getter for cleanupJournalOnCompletejava.lang.IntegergetConnectionTimeout()Get connection timeoutjava.lang.IntegergetDataTimeout()Get data connection timeoutjava.lang.BooleangetFTPS()java.lang.BooleangetFtpsIsImplicit()java.lang.StringgetFtpsKeyStoreFilePassword()java.lang.StringgetFtpsKeyStoreFilePath()java.lang.IntegergetFtpsPort()java.lang.StringgetFtpsProtocol()java.lang.IntegergetMaxRetryAttempts()Get the max retry attemptsjava.lang.StringgetPassword()Get the passwordjava.lang.IntegergetPollTime()Getter for pollTimejava.lang.StringgetRemoteHostname()Get the hostjava.lang.IntegergetRemotePort()Gets remote port number.java.lang.IntegergetSocketTimeout()Get socket connection timeoutjava.lang.StringgetSystemKey()Getter for systemKeyjava.lang.StringgetUsername()Get the usernamevoidsetActive(java.lang.Boolean active)Set activevoidsetCleanupJournalOnComplete(java.lang.Boolean cleanupJournalOnComplete)Setter for cleanupJournalOnCompletevoidsetConnectionTimeout(java.lang.Integer connectionTimeout)Set connection timeoutvoidsetDataTimeout(java.lang.Integer dataTimeout)Set data timeoutvoidsetFTPS(java.lang.Boolean FTPS)voidsetFtpsIsImplicit(java.lang.Boolean ftpsIsImplicit)voidsetFtpsKeyStoreFilePassword(java.lang.String ftpsKeyStoreFilePassword)voidsetFtpsKeyStoreFilePath(java.lang.String ftpsKeyStoreFilePath)voidsetFtpsPort(java.lang.Integer ftpsPort)voidsetFtpsProtocol(java.lang.String ftpsProtocol)voidsetMaxRetryAttempts(java.lang.Integer maxRetryAttempts)Set the max retry attemptsvoidsetPassword(java.lang.String password)Set the passwordvoidsetPollTime(java.lang.Integer pollTime)Setter for pollTimevoidsetRemoteHostname(java.lang.String remoteHostname)Set the hostvoidsetRemotePort(java.lang.Integer remotePort)Sets the value ofremotePort.voidsetSocketTimeout(java.lang.Integer socketTimeout)Set socket timeoutvoidsetSystemKey(java.lang.String systemKey)Setter for systemKeyvoidsetUsername(java.lang.String username)Set the usernamejava.lang.StringtoString()String representation of the ConnectionSpec
-
-
-
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 ofremotePort.- 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:
toStringin classjava.lang.Object
-
-