public static class SSHClientConnection.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Optional<com.jcraft.jsch.agentproxy.Connector> |
agentConnector |
protected int |
connectTimeout |
protected com.google.common.net.HostAndPort |
hostAndPort |
protected LoginCredentials |
loginCredentials |
protected int |
sessionTimeout |
Constructor and Description |
---|
SSHClientConnection.Builder() |
Modifier and Type | Method and Description |
---|---|
SSHClientConnection.Builder |
agentConnector(com.google.common.base.Optional<com.jcraft.jsch.agentproxy.Connector> agentConnector) |
SSHClientConnection |
build() |
SSHClientConnection.Builder |
connectTimeout(int connectTimeout) |
protected SSHClientConnection.Builder |
fromSSHClientConnection(SSHClientConnection in) |
SSHClientConnection.Builder |
hostAndPort(com.google.common.net.HostAndPort hostAndPort) |
SSHClientConnection.Builder |
loginCredentials(LoginCredentials loginCredentials) |
SSHClientConnection.Builder |
sessionTimeout(int sessionTimeout) |
protected com.google.common.net.HostAndPort hostAndPort
protected LoginCredentials loginCredentials
protected int connectTimeout
protected int sessionTimeout
protected com.google.common.base.Optional<com.jcraft.jsch.agentproxy.Connector> agentConnector
public SSHClientConnection.Builder hostAndPort(com.google.common.net.HostAndPort hostAndPort)
SSHClientConnection.getHostAndPort()
public SSHClientConnection.Builder loginCredentials(LoginCredentials loginCredentials)
public SSHClientConnection.Builder connectTimeout(int connectTimeout)
public SSHClientConnection.Builder sessionTimeout(int sessionTimeout)
public SSHClientConnection.Builder agentConnector(com.google.common.base.Optional<com.jcraft.jsch.agentproxy.Connector> agentConnector)
public SSHClientConnection build()
protected SSHClientConnection.Builder fromSSHClientConnection(SSHClientConnection in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.