public static final class SessionConnection.Builder extends Object
Constructor and Description |
---|
SessionConnection.Builder() |
Modifier and Type | Method and Description |
---|---|
SessionConnection.Builder |
agentConnector(com.google.common.base.Optional<com.jcraft.jsch.agentproxy.Connector> agentConnector) |
SessionConnection |
build() |
SessionConnection.Builder |
connectTimeout(int connectTimeout) |
SessionConnection.Builder |
from(SessionConnection in) |
SessionConnection.Builder |
hostAndPort(com.google.common.net.HostAndPort hostAndPort) |
SessionConnection.Builder |
loginCredentials(LoginCredentials loginCredentials) |
SessionConnection.Builder |
proxy(com.jcraft.jsch.Proxy proxy) |
SessionConnection.Builder |
proxy(ProxyConfig proxyConfig) |
SessionConnection.Builder |
sessionTimeout(int sessionTimeout) |
public SessionConnection.Builder hostAndPort(com.google.common.net.HostAndPort hostAndPort)
SessionConnection.getHostAndPort()
public SessionConnection.Builder loginCredentials(LoginCredentials loginCredentials)
public SessionConnection.Builder proxy(com.jcraft.jsch.Proxy proxy)
SessionConnection.getProxy()
public SessionConnection.Builder proxy(ProxyConfig proxyConfig)
proxy(Proxy)
public SessionConnection.Builder connectTimeout(int connectTimeout)
public SessionConnection.Builder sessionTimeout(int sessionTimeout)
public SessionConnection build()
public SessionConnection.Builder from(SessionConnection in)
public SessionConnection.Builder agentConnector(com.google.common.base.Optional<com.jcraft.jsch.agentproxy.Connector> agentConnector)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.