Package com.consol.citrus.ftp.client
Class FtpEndpointConfiguration
- java.lang.Object
-
- com.consol.citrus.endpoint.AbstractEndpointConfiguration
-
- com.consol.citrus.endpoint.AbstractPollableEndpointConfiguration
-
- com.consol.citrus.ftp.client.FtpEndpointConfiguration
-
- All Implemented Interfaces:
com.consol.citrus.endpoint.EndpointConfiguration,com.consol.citrus.endpoint.PollableEndpointConfiguration
- Direct Known Subclasses:
SftpEndpointConfiguration
public class FtpEndpointConfiguration extends com.consol.citrus.endpoint.AbstractPollableEndpointConfiguration- Since:
- 2.0
- Author:
- Christoph Deppisch
-
-
Constructor Summary
Constructors Constructor Description FtpEndpointConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAutoHandleCommands()Gets the autoHandleCommands.com.consol.citrus.message.MessageCorrelatorgetCorrelator()Gets the correlator.com.consol.citrus.message.ErrorHandlingStrategygetErrorHandlingStrategy()Gets the errorHandlingStrategy.StringgetHost()Gets the ftp host.FtpMarshallergetMarshaller()Gets the marshaller.StringgetPassword()Gets the user password for login.intgetPort()Gets the ftp server port.StringgetUser()Gets the user name for login.booleanisAutoConnect()Gets the autoConnect.booleanisAutoLogin()Gets the autoLogin.booleanisAutoReadFiles()Gets the autoReadFiles.booleanisLocalPassiveMode()Gets the localPassiveMode.voidsetAutoConnect(boolean autoConnect)Sets the autoConnect.voidsetAutoHandleCommands(String autoHandleCommands)Sets the autoHandleCommands.voidsetAutoLogin(boolean autoLogin)Sets the autoLogin.voidsetAutoReadFiles(boolean autoReadFiles)Sets the autoReadFiles.voidsetCorrelator(com.consol.citrus.message.MessageCorrelator correlator)Set the reply message correlator.voidsetErrorHandlingStrategy(com.consol.citrus.message.ErrorHandlingStrategy errorHandlingStrategy)Sets the errorHandlingStrategy.voidsetHost(String host)Sets the ftp host.voidsetLocalPassiveMode(boolean localPassiveMode)Sets the localPassiveMode.voidsetMarshaller(FtpMarshaller marshaller)Sets the marshaller.voidsetPassword(String password)Sets the user password for login.voidsetPort(int port)Sets the ftp server port.voidsetUser(String user)Sets the user name for login.-
Methods inherited from class com.consol.citrus.endpoint.AbstractPollableEndpointConfiguration
getPollingInterval, setPollingInterval
-
Methods inherited from class com.consol.citrus.endpoint.AbstractEndpointConfiguration
getTimeout, setTimeout
-
-
-
-
Method Detail
-
getHost
public String getHost()
Gets the ftp host.- Returns:
-
setHost
public void setHost(String host)
Sets the ftp host.- Parameters:
host-
-
setPort
public void setPort(int port)
Sets the ftp server port.- Parameters:
port-
-
getPort
public int getPort()
Gets the ftp server port.- Returns:
-
setCorrelator
public void setCorrelator(com.consol.citrus.message.MessageCorrelator correlator)
Set the reply message correlator.- Parameters:
correlator- the correlator to set
-
getCorrelator
public com.consol.citrus.message.MessageCorrelator getCorrelator()
Gets the correlator.- Returns:
- the correlator
-
setUser
public void setUser(String user)
Sets the user name for login.- Parameters:
user-
-
getUser
public String getUser()
Gets the user name for login.- Returns:
-
setPassword
public void setPassword(String password)
Sets the user password for login.- Parameters:
password-
-
getPassword
public String getPassword()
Gets the user password for login.- Returns:
-
isAutoConnect
public boolean isAutoConnect()
Gets the autoConnect.- Returns:
-
setAutoConnect
public void setAutoConnect(boolean autoConnect)
Sets the autoConnect.- Parameters:
autoConnect-
-
isAutoLogin
public boolean isAutoLogin()
Gets the autoLogin.- Returns:
-
setAutoLogin
public void setAutoLogin(boolean autoLogin)
Sets the autoLogin.- Parameters:
autoLogin-
-
getMarshaller
public FtpMarshaller getMarshaller()
Gets the marshaller.- Returns:
-
setMarshaller
public void setMarshaller(FtpMarshaller marshaller)
Sets the marshaller.- Parameters:
marshaller-
-
getErrorHandlingStrategy
public com.consol.citrus.message.ErrorHandlingStrategy getErrorHandlingStrategy()
Gets the errorHandlingStrategy.- Returns:
-
setErrorHandlingStrategy
public void setErrorHandlingStrategy(com.consol.citrus.message.ErrorHandlingStrategy errorHandlingStrategy)
Sets the errorHandlingStrategy.- Parameters:
errorHandlingStrategy-
-
getAutoHandleCommands
public String getAutoHandleCommands()
Gets the autoHandleCommands.- Returns:
-
setAutoHandleCommands
public void setAutoHandleCommands(String autoHandleCommands)
Sets the autoHandleCommands.- Parameters:
autoHandleCommands-
-
isAutoReadFiles
public boolean isAutoReadFiles()
Gets the autoReadFiles.- Returns:
-
setAutoReadFiles
public void setAutoReadFiles(boolean autoReadFiles)
Sets the autoReadFiles.- Parameters:
autoReadFiles-
-
isLocalPassiveMode
public boolean isLocalPassiveMode()
Gets the localPassiveMode.- Returns:
-
setLocalPassiveMode
public void setLocalPassiveMode(boolean localPassiveMode)
Sets the localPassiveMode.- Parameters:
localPassiveMode-
-
-