com.atlassian.bamboo.ssh
Interface ProxyConnectionDataBuilder

All Known Implementing Classes:
ProxyConnectionDataBuilderImpl

public interface ProxyConnectionDataBuilder


Method Summary
 ProxyConnectionData build()
           
 ProxyConnectionDataBuilder withConnectionDescription(java.lang.String connectionReason)
           
 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 withRemotePathMapping(java.lang.String from, java.lang.String to)
           
 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

withRemotePathMapping

ProxyConnectionDataBuilder withRemotePathMapping(@NotNull
                                                 java.lang.String from,
                                                 @NotNull
                                                 java.lang.String to)
                                                 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)

withConnectionDescription

ProxyConnectionDataBuilder withConnectionDescription(@Nullable
                                                     java.lang.String connectionReason)

build

ProxyConnectionData build()
                          throws ProxyException
Throws:
ProxyException


Copyright © 2012 Atlassian. All Rights Reserved.