public class SshClientBuilder extends AbstractEndpointBuilder<SshClient>
| Constructor and Description |
|---|
SshClientBuilder() |
| Modifier and Type | Method and Description |
|---|---|
SshClientBuilder |
commandTimeout(long commandTimeout)
Sets the commandTimeout property.
|
SshClientBuilder |
connectionTimeout(int connectionTimeout)
Sets the connectionTimeout property.
|
SshClientBuilder |
correlator(MessageCorrelator correlator)
Sets the message correlator.
|
protected SshClient |
getEndpoint() |
SshClientBuilder |
host(String host)
Sets the host property.
|
SshClientBuilder |
knownHosts(String knownHosts)
Sets the knownHosts property.
|
SshClientBuilder |
messageConverter(SshMessageConverter messageConverter)
Sets the message converter.
|
SshClientBuilder |
password(String password)
Sets the client password.
|
SshClientBuilder |
pollingInterval(int pollingInterval)
Sets the polling interval.
|
SshClientBuilder |
port(int port)
Sets the port property.
|
SshClientBuilder |
privateKeyPassword(String privateKeyPassword)
Sets the privateKeyPassword property.
|
SshClientBuilder |
privateKeyPath(String privateKeyPath)
Sets the privateKeyPath property.
|
SshClientBuilder |
strictHostChecking(boolean strictHostChecking)
Sets the strictHostChecking property.
|
SshClientBuilder |
timeout(long timeout)
Sets the default timeout.
|
SshClientBuilder |
user(String user)
Sets the user property.
|
actor, applicationContext, build, build, initialize, nameprotected SshClient getEndpoint()
getEndpoint in class AbstractEndpointBuilder<SshClient>public SshClientBuilder host(String host)
host - public SshClientBuilder port(int port)
port - public SshClientBuilder user(String user)
user - public SshClientBuilder password(String password)
password - public SshClientBuilder privateKeyPath(String privateKeyPath)
privateKeyPath - public SshClientBuilder privateKeyPassword(String privateKeyPassword)
privateKeyPassword - public SshClientBuilder strictHostChecking(boolean strictHostChecking)
strictHostChecking - public SshClientBuilder knownHosts(String knownHosts)
knownHosts - public SshClientBuilder commandTimeout(long commandTimeout)
commandTimeout - public SshClientBuilder connectionTimeout(int connectionTimeout)
connectionTimeout - public SshClientBuilder messageConverter(SshMessageConverter messageConverter)
messageConverter - public SshClientBuilder correlator(MessageCorrelator correlator)
correlator - public SshClientBuilder pollingInterval(int pollingInterval)
pollingInterval - public SshClientBuilder timeout(long timeout)
timeout - Copyright © 2008–2018 ConSol Software GmbH. All rights reserved.