Package org.citrusframework.ftp.client
Class FtpEndpointConfiguration
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointConfiguration
org.citrusframework.endpoint.AbstractPollableEndpointConfiguration
org.citrusframework.ftp.client.FtpEndpointConfiguration
- All Implemented Interfaces:
EndpointConfiguration,PollableEndpointConfiguration
- Direct Known Subclasses:
SftpEndpointConfiguration
- Since:
- 2.0
- Author:
- Christoph Deppisch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the autoHandleCommands.Gets the correlator.Gets the errorHandlingStrategy.getHost()Gets the ftp host.Gets the marshaller.Gets the user password for login.intgetPort()Gets the ftp server port.getUser()Gets the user name for login.booleanGets the autoConnect.booleanGets the autoLogin.booleanGets the autoReadFiles.booleanGets 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(MessageCorrelator correlator) Set the reply message correlator.voidsetErrorHandlingStrategy(ErrorHandlingStrategy errorHandlingStrategy) Sets the errorHandlingStrategy.voidSets 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.voidSets the user name for login.Methods inherited from class org.citrusframework.endpoint.AbstractPollableEndpointConfiguration
getPollingInterval, setPollingIntervalMethods inherited from class org.citrusframework.endpoint.AbstractEndpointConfiguration
getTimeout, setTimeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.endpoint.EndpointConfiguration
getTimeout, setTimeout
-
Constructor Details
-
FtpEndpointConfiguration
public FtpEndpointConfiguration()
-
-
Method Details
-
getHost
Gets the ftp host.- Returns:
-
setHost
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
Set the reply message correlator.- Parameters:
correlator- the correlator to set
-
getCorrelator
Gets the correlator.- Returns:
- the correlator
-
setUser
Sets the user name for login.- Parameters:
user-
-
getUser
Gets the user name for login.- Returns:
-
setPassword
Sets the user password for login.- Parameters:
password-
-
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
Gets the marshaller.- Returns:
-
setMarshaller
Sets the marshaller.- Parameters:
marshaller-
-
getErrorHandlingStrategy
Gets the errorHandlingStrategy.- Returns:
-
setErrorHandlingStrategy
Sets the errorHandlingStrategy.- Parameters:
errorHandlingStrategy-
-
getAutoHandleCommands
Gets the autoHandleCommands.- Returns:
-
setAutoHandleCommands
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-
-