com.atlassian.bamboo.ssh
Interface ProxyConnectionDataBuilder

All Known Implementing Classes:
ProxyConnectionDataBuilderImpl

public interface ProxyConnectionDataBuilder


Method Summary
 ProxyConnectionData build()
           
 ProxyConnectionDataBuilder withErrorReceiver(ProxyErrorReceiver receiver)
           
 ProxyConnectionDataBuilder withKeyFromFile(java.lang.String filePath, java.lang.String passphrase)
           
 ProxyConnectionDataBuilder withKeyFromProvider(org.apache.sshd.common.KeyPairProvider keyPairProvider)
           
 ProxyConnectionDataBuilder withKeyFromReader(java.io.Reader keyReader, java.lang.String passphrase)
           
 ProxyConnectionDataBuilder withKeyFromString(java.lang.String key, java.lang.String passphrase)
           
 ProxyConnectionDataBuilder withRemoteAddress(java.lang.String host, int port)
           
 ProxyConnectionDataBuilder withRemotePassword(java.lang.String password)
           
 ProxyConnectionDataBuilder withRemoteUserName(java.lang.String name)
           
 

Method Detail

withRemoteUserName

ProxyConnectionDataBuilder withRemoteUserName(java.lang.String name)

withRemotePassword

ProxyConnectionDataBuilder withRemotePassword(java.lang.String password)

withKeyFromFile

ProxyConnectionDataBuilder withKeyFromFile(java.lang.String filePath,
                                           @Nullable
                                           java.lang.String passphrase)
                                           throws java.io.IOException
Throws:
java.io.IOException

withKeyFromString

ProxyConnectionDataBuilder withKeyFromString(java.lang.String key,
                                             @Nullable
                                             java.lang.String passphrase)
                                             throws java.io.IOException
Throws:
java.io.IOException

withKeyFromReader

ProxyConnectionDataBuilder withKeyFromReader(java.io.Reader keyReader,
                                             @Nullable
                                             java.lang.String passphrase)
                                             throws java.io.IOException
Throws:
java.io.IOException

withKeyFromProvider

ProxyConnectionDataBuilder withKeyFromProvider(org.apache.sshd.common.KeyPairProvider keyPairProvider)
                                               throws java.io.IOException
Throws:
java.io.IOException

withRemoteAddress

ProxyConnectionDataBuilder withRemoteAddress(java.lang.String host,
                                             int port)

withErrorReceiver

ProxyConnectionDataBuilder withErrorReceiver(ProxyErrorReceiver receiver)

build

ProxyConnectionData build()
                          throws ProxyException
Throws:
ProxyException


Copyright © 2012 Atlassian. All Rights Reserved.