public static class ChannelContext.Builder extends Object
Constructor and Description |
---|
ChannelContext.Builder(EnvironmentService env,
EncryptionService enc,
String hostname)
Override using
ssh.hostname (if present) |
ChannelContext.Builder(EnvironmentService env,
String hostname)
Override using
ssh.hostname (if present) |
ChannelContext.Builder(String hostname) |
public ChannelContext.Builder(String hostname)
public ChannelContext.Builder(EnvironmentService env, String hostname)
ssh.hostname
(if present)public ChannelContext.Builder(EnvironmentService env, EncryptionService enc, String hostname)
ssh.hostname
(if present)public ChannelContext.Builder requestPseudoTerminal(boolean requestPseudoTerminal)
public ChannelContext.Builder echo(boolean echo)
public ChannelContext.Builder username(String username)
public ChannelContext.Builder port(int port)
public ChannelContext.Builder encoding(String encoding)
public ChannelContext.Builder connectTimeout(int connectTimeout)
public ChannelContext.Builder options(Properties options)
public ChannelContext.Builder knownHosts(File knownHosts)
public ChannelContext.Builder useKnownHosts(boolean useKnownHosts)
public ChannelContext.Builder config(File config)
public ChannelContext.Builder useConfigFile(boolean useConfigFile)
public ChannelContext.Builder includeDefaultPrivateKeyLocations(boolean includeDefaultPrivateKeyLocations)
public ChannelContext.Builder waitForClosedSleepMillis(int waitForClosedSleepMillis)
public ChannelContext.Builder privateKeyFiles(List<File> privateKeyFiles)
public ChannelContext.Builder privateKey(String privateKey)
public ChannelContext.Builder privateKeys(List<String> privateKeys)
public ChannelContext build()
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.