com.atlassian.bamboo.plugins.ssh
Class ProxyConnectionDataBuilderImpl
java.lang.Object
com.atlassian.bamboo.plugins.ssh.ProxyConnectionDataBuilderImpl
- All Implemented Interfaces:
- ProxyConnectionDataBuilder
public class ProxyConnectionDataBuilderImpl
- extends java.lang.Object
- implements ProxyConnectionDataBuilder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyConnectionDataBuilderImpl
public ProxyConnectionDataBuilderImpl()
withRemoteUserName
public ProxyConnectionDataBuilder withRemoteUserName(java.lang.String name)
- Specified by:
withRemoteUserName
in interface ProxyConnectionDataBuilder
withKeyFromFile
public ProxyConnectionDataBuilder withKeyFromFile(java.lang.String filePath,
@Nullable
java.lang.String passphrase)
throws java.io.IOException
- Specified by:
withKeyFromFile
in interface ProxyConnectionDataBuilder
- Throws:
java.io.IOException
withKeyFromString
public ProxyConnectionDataBuilder withKeyFromString(java.lang.String key,
@Nullable
java.lang.String passphrase)
throws java.io.IOException
- Specified by:
withKeyFromString
in interface ProxyConnectionDataBuilder
- Throws:
java.io.IOException
withKeyFromReader
public ProxyConnectionDataBuilder withKeyFromReader(java.io.Reader keyReader,
@Nullable
java.lang.String passphrase)
throws java.io.IOException
- Specified by:
withKeyFromReader
in interface ProxyConnectionDataBuilder
- Throws:
java.io.IOException
withKeyFromProvider
public ProxyConnectionDataBuilder withKeyFromProvider(org.apache.sshd.common.KeyPairProvider keyPairProvider)
throws java.io.IOException
- Specified by:
withKeyFromProvider
in interface ProxyConnectionDataBuilder
- Throws:
java.io.IOException
withRemoteAddress
public ProxyConnectionDataBuilder withRemoteAddress(java.lang.String host,
int port)
- Specified by:
withRemoteAddress
in interface ProxyConnectionDataBuilder
withErrorReceiver
public ProxyConnectionDataBuilder withErrorReceiver(ProxyErrorReceiver receiver)
- Specified by:
withErrorReceiver
in interface ProxyConnectionDataBuilder
withRemotePassword
public ProxyConnectionDataBuilder withRemotePassword(java.lang.String password)
- Specified by:
withRemotePassword
in interface ProxyConnectionDataBuilder
build
public ProxyConnectionData build()
throws ProxyException
- Specified by:
build
in interface ProxyConnectionDataBuilder
- Throws:
ProxyException
Copyright © 2012 Atlassian. All Rights Reserved.