Package org.citrusframework.ssh.client
Class SshClientBuilder
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointBuilder<SshClient>
org.citrusframework.ssh.client.SshClientBuilder
- All Implemented Interfaces:
EndpointBuilder<SshClient>
- 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 TypeMethodDescriptioncommandTimeout(long commandTimeout) Sets the commandTimeout property.connectionTimeout(int connectionTimeout) Sets the connectionTimeout property.correlator(MessageCorrelator correlator) Sets the message correlator.protected SshClientSets the host property.knownHosts(String knownHosts) Sets the knownHosts property.messageConverter(SshMessageConverter messageConverter) Sets the message converter.Sets the client password.pollingInterval(int pollingInterval) Sets the polling interval.port(int port) Sets the port 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 user property.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
-
SshClientBuilder
public SshClientBuilder()
-
-
Method Details
-
getEndpoint
- Specified by:
getEndpointin classAbstractEndpointBuilder<SshClient>
-
host
Sets the host property.- Parameters:
host-- Returns:
-
port
Sets the port property.- Parameters:
port-- Returns:
-
user
Sets the user property.- Parameters:
user-- 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:
-
commandTimeout
Sets the commandTimeout property.- Parameters:
commandTimeout-- Returns:
-
connectionTimeout
Sets the connectionTimeout property.- Parameters:
connectionTimeout-- Returns:
-
messageConverter
Sets the message converter.- Parameters:
messageConverter-- Returns:
-
correlator
Sets the message correlator.- Parameters:
correlator-- Returns:
-
pollingInterval
Sets the polling interval.- Parameters:
pollingInterval-- Returns:
-
timeout
Sets the default timeout.- Parameters:
timeout-- Returns:
-