Package org.citrusframework.ftp.client
Class ScpClientBuilder
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointBuilder<ScpClient>
org.citrusframework.ftp.client.ScpClientBuilder
- All Implemented Interfaces:
EndpointBuilder<ScpClient>
- Since:
- 2.7.6
- 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 ScpClientSets the host property.knownHosts(String knownHosts) Sets the knownHosts property.Sets the client password.pollingInterval(int pollingInterval) Sets the polling interval.port(int port) Sets the port property.portOption(String option) Sets the port option property.privateKeyPassword(String privateKeyPassword) Sets the privateKeyPassword property.privateKeyPath(String privateKeyPath) Sets the privateKeyPath 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
-
ScpClientBuilder
public ScpClientBuilder()
-
-
Method Details
-
getEndpoint
- Specified by:
getEndpointin classAbstractEndpointBuilder<ScpClient>
-
portOption
Sets the port option property.- Parameters:
option-- Returns:
-
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:
-
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:
-
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:
-