Package org.citrusframework.ftp.client
Class FtpClientBuilder
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointBuilder<FtpClient>
org.citrusframework.ftp.client.FtpClientBuilder
- All Implemented Interfaces:
EndpointBuilder<FtpClient>
- Since:
- 2.5
- Author:
- Christoph Deppisch
-
Field Summary
Fields inherited from interface org.citrusframework.endpoint.EndpointBuilder
logger, RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoReadFiles(boolean autoReadFiles) Sets the auto read files property.correlator(MessageCorrelator correlator) Sets the message correlator.errorHandlingStrategy(ErrorHandlingStrategy errorStrategy) Sets the error handling strategy.protected FtpClientSets the host property.localPassiveMode(boolean localPassiveMode) Sets the local passive mode property.Sets the client password.pollingInterval(int pollingInterval) Sets the polling interval.port(int port) Sets the port property.timeout(long timeout) Sets the default timeout.Sets the client username.Methods inherited from class org.citrusframework.endpoint.AbstractEndpointBuilder
actor, build, initialize, name, referenceResolver, supportsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.endpoint.EndpointBuilder
build, build
-
Constructor Details
-
FtpClientBuilder
public FtpClientBuilder()
-
-
Method Details
-
getEndpoint
- Specified by:
getEndpointin classAbstractEndpointBuilder<FtpClient>
-
host
Sets the host property.- Parameters:
host-- Returns:
-
port
Sets the port property.- Parameters:
port-- Returns:
-
autoReadFiles
Sets the auto read files property.- Parameters:
autoReadFiles-- Returns:
-
localPassiveMode
Sets the local passive mode property.- Parameters:
localPassiveMode-- Returns:
-
username
Sets the client username.- Parameters:
username-- Returns:
-
password
Sets the client password.- Parameters:
password-- Returns:
-
correlator
Sets the message correlator.- Parameters:
correlator-- Returns:
-
errorHandlingStrategy
Sets the error handling strategy.- Parameters:
errorStrategy-- Returns:
-
pollingInterval
Sets the polling interval.- Parameters:
pollingInterval-- Returns:
-
timeout
Sets the default timeout.- Parameters:
timeout-- Returns:
-