Class FTPConnectionRequestInfo
- java.lang.Object
-
- org.ikasan.connector.base.outbound.EISConnectionRequestInfo
-
- org.ikasan.connector.ftp.outbound.FTPConnectionRequestInfo
-
- All Implemented Interfaces:
javax.resource.spi.ConnectionRequestInfo
public class FTPConnectionRequestInfo extends org.ikasan.connector.base.outbound.EISConnectionRequestInfoFTPConnectionRequestInfo provides FTP EIS specific connection properties. It gets passed into the FTPManagedConnectionFactory This class itself gets populated by the client calling the connector Typically this is used to override the defaults provided by the ra.xml file.- Author:
- Ikasan Development Team
-
-
Constructor Summary
Constructors Constructor Description FTPConnectionRequestInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleancleanupJournalOnComplete()Getter for cleanupJournalOnCompletebooleanequals(java.lang.Object o)java.lang.BooleangetActive()Get activejava.lang.IntegergetConnectionTimeout()Get the connection timeoutjava.lang.IntegergetDataTimeout()Get the data 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()Get the poll ratejava.lang.StringgetRemoteHostname()Get the host namejava.lang.IntegergetRemotePort()Get the portjava.lang.IntegergetSocketTimeout()Get the connection timeoutjava.lang.StringgetSystemKey()Get the systemKeyjava.lang.StringgetUsername()Get the usernameinthashCode()voidsetActive(java.lang.Boolean active)Set activevoidsetCleanupJournalOnComplete(java.lang.Boolean cleanupJournalOnComplete)Setter for cleanupJournalOnCompletevoidsetConnectionTimeout(java.lang.Integer connectionTimeout)Set the connection timeoutvoidsetDataTimeout(java.lang.Integer dataTimeout)Set the 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)Set the poll ratevoidsetRemoteHostname(java.lang.String remoteHostname)Set the host namevoidsetRemotePort(java.lang.Integer remotePort)Set the portvoidsetSocketTimeout(java.lang.Integer socketTimeout)Set the socket timeoutvoidsetSystemKey(java.lang.String systemKey)Set the systemKeyvoidsetUsername(java.lang.String username)Set the usernamejava.lang.StringtoString()String representation of the ConnectionRequestInfo
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equalsin interfacejavax.resource.spi.ConnectionRequestInfo- Specified by:
equalsin classorg.ikasan.connector.base.outbound.EISConnectionRequestInfo
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacejavax.resource.spi.ConnectionRequestInfo- Specified by:
hashCodein classorg.ikasan.connector.base.outbound.EISConnectionRequestInfo
-
getActive
public java.lang.Boolean getActive()
Get active- Returns:
- active
-
setActive
public void setActive(java.lang.Boolean active)
Set active- Parameters:
active- New value foractiveflag.
-
cleanupJournalOnComplete
public java.lang.Boolean cleanupJournalOnComplete()
Getter for cleanupJournalOnComplete- Returns:
- cleanupJournalOnComplete
-
setCleanupJournalOnComplete
public void setCleanupJournalOnComplete(java.lang.Boolean cleanupJournalOnComplete)
Setter for cleanupJournalOnComplete- Parameters:
cleanupJournalOnComplete- New value forcleanupJournalOnCompleteparameter flag.
-
getRemoteHostname
public java.lang.String getRemoteHostname()
Get the host name- Returns:
- the host name
-
setRemoteHostname
public void setRemoteHostname(java.lang.String remoteHostname)
Set the host name- Parameters:
remoteHostname- New value forhostname.
-
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- New value formaxRetryAttempts.
-
getPassword
public java.lang.String getPassword()
Get the password- Returns:
- password
-
setPassword
public void setPassword(java.lang.String password)
Set the password- Parameters:
password- New value forpassword.
-
getPollTime
public java.lang.Integer getPollTime()
Get the poll rate- Returns:
- poll rate
-
setPollTime
public void setPollTime(java.lang.Integer pollTime)
Set the poll rate- Parameters:
pollTime- New value forpollTime.
-
getRemotePort
public java.lang.Integer getRemotePort()
Get the port- Returns:
- port
-
setRemotePort
public void setRemotePort(java.lang.Integer remotePort)
Set the port- Parameters:
remotePort- New value forport.
-
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- New value forusername.
-
getSystemKey
public java.lang.String getSystemKey()
Get the systemKey- Returns:
- the systemKey
-
setSystemKey
public void setSystemKey(java.lang.String systemKey)
Set the systemKey- Parameters:
systemKey- The system key to set
-
setConnectionTimeout
public void setConnectionTimeout(java.lang.Integer connectionTimeout)
Set the connection timeout- Parameters:
connectionTimeout- The connection timeout to set
-
getConnectionTimeout
public java.lang.Integer getConnectionTimeout()
Get the connection timeout- Returns:
- int - connectionT
-
setDataTimeout
public void setDataTimeout(java.lang.Integer dataTimeout)
Set the data timeout- Parameters:
dataTimeout- The data timeout to set
-
getDataTimeout
public java.lang.Integer getDataTimeout()
Get the data timeout- Returns:
- Integer - dataTimeout
-
setSocketTimeout
public void setSocketTimeout(java.lang.Integer socketTimeout)
Set the socket timeout- Parameters:
socketTimeout- The connection timeout to set
-
getSocketTimeout
public java.lang.Integer getSocketTimeout()
Get the connection timeout- Returns:
- Integer - socketTimeout
-
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 ConnectionRequestInfo- Overrides:
toStringin classjava.lang.Object
-
-