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 withKeyFromReader(java.io.Reader keyReader, java.lang.String passphrase)
           
 ProxyConnectionDataBuilder withKeyFromString(java.lang.String key, java.lang.String passphrase)
           
 ProxyConnectionDataBuilder withKeyPair(java.security.KeyPair keyPair)
           
 ProxyConnectionDataBuilder withProxyConnectionData(ProxyConnectionData connectionData)
           
 ProxyConnectionDataBuilder withRemoteHost(java.lang.String host)
           
 ProxyConnectionDataBuilder withRemotePassword(java.lang.String password)
           
 ProxyConnectionDataBuilder withRemotePathMapping(java.lang.String from, java.lang.String to)
           
 ProxyConnectionDataBuilder withRemotePort(java.lang.Integer port)
           
 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)

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

withKeyPair

ProxyConnectionDataBuilder withKeyPair(java.security.KeyPair keyPair)

withRemotePathMapping

ProxyConnectionDataBuilder withRemotePathMapping(@NotNull
                                                 java.lang.String from,
                                                 @NotNull
                                                 java.lang.String to)
                                                 throws java.io.IOException
Throws:
java.io.IOException

withRemoteHost

ProxyConnectionDataBuilder withRemoteHost(@Nullable
                                          java.lang.String host)

withRemotePort

ProxyConnectionDataBuilder withRemotePort(@Nullable
                                          java.lang.Integer port)

withErrorReceiver

ProxyConnectionDataBuilder withErrorReceiver(ProxyErrorReceiver receiver)

withConnectionDescription

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

withProxyConnectionData

ProxyConnectionDataBuilder withProxyConnectionData(ProxyConnectionData connectionData)

build

ProxyConnectionData build()


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.