Package org.citrusframework.ftp.client
Class SftpClientBuilder
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointBuilder<SftpClient>
org.citrusframework.ftp.client.SftpClientBuilder
- All Implemented Interfaces:
EndpointBuilder<SftpClient>
- Since:
- 2.7.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 SftpClientSets the host property.knownHosts(String knownHosts) Sets the knownHosts 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.preferredAuthentications(String preferredAuthentications) Sets the preferred authentications property.privateKeyPassword(String privateKeyPassword) Sets the privateKeyPassword property.privateKeyPath(String privateKeyPath) Sets the privateKeyPath property.sessionConfigs(Map<String, String> sessionConfigs) Sets the sessionConfigs property.strictHostChecking(boolean strictHostChecking) Sets the strictHostChecking 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
-
SftpClientBuilder
public SftpClientBuilder()
-
-
Method Details
-
getEndpoint
- Specified by:
getEndpointin classAbstractEndpointBuilder<SftpClient>
-
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:
-
privateKeyPath
Sets the privateKeyPath property.- Parameters:
privateKeyPath-- Returns:
-
privateKeyPassword
Sets the privateKeyPassword property.- Parameters:
privateKeyPassword-- Returns:
-
strictHostChecking
Sets the strictHostChecking property.- Parameters:
strictHostChecking-- Returns:
-
knownHosts
Sets the knownHosts property.- Parameters:
knownHosts-- Returns:
-
preferredAuthentications
Sets the preferred authentications property.- Parameters:
preferredAuthentications-- Returns:
-
sessionConfigs
Sets the sessionConfigs property.- Parameters:
sessionConfigs-- 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:
-