com.atlassian.bamboo.ssh
Interface ProxyConnectionDataBuilder

All Known Implementing Classes:
ProxyConnectionDataBuilderImpl

public interface ProxyConnectionDataBuilder


Method Summary
 ProxyConnectionData build()
           
 ProxyConnectionDataBuilder withConnectionDescription(String connectionReason)
           
 ProxyConnectionDataBuilder withErrorReceiver(ProxyErrorReceiver receiver)
           
 ProxyConnectionDataBuilder withKeyFromFile(String filePath, String passphrase)
           
 ProxyConnectionDataBuilder withKeyFromReader(Reader keyReader, String passphrase)
           
 ProxyConnectionDataBuilder withKeyFromString(String key, String passphrase)
           
 ProxyConnectionDataBuilder withKeyPair(KeyPair keyPair)
           
 ProxyConnectionDataBuilder withProxyConnectionData(ProxyConnectionData connectionData)
           
 ProxyConnectionDataBuilder withRemoteHost(String host)
           
 ProxyConnectionDataBuilder withRemotePassword(String password)
           
 ProxyConnectionDataBuilder withRemotePathMapping(String from, String to)
           
 ProxyConnectionDataBuilder withRemotePort(Integer port)
           
 ProxyConnectionDataBuilder withRemoteUserName(String name)
           
 

Method Detail

withRemoteUserName

ProxyConnectionDataBuilder withRemoteUserName(String name)

withRemotePassword

ProxyConnectionDataBuilder withRemotePassword(String password)

withKeyFromFile

ProxyConnectionDataBuilder withKeyFromFile(@NotNull
                                           String filePath,
                                           @Nullable
                                           String passphrase)

withKeyFromString

ProxyConnectionDataBuilder withKeyFromString(String key,
                                             @Nullable
                                             String passphrase)
                                             throws IOException
Throws:
IOException

withKeyFromReader

ProxyConnectionDataBuilder withKeyFromReader(Reader keyReader,
                                             @Nullable
                                             String passphrase)
                                             throws IOException
Throws:
IOException

withKeyPair

ProxyConnectionDataBuilder withKeyPair(KeyPair keyPair)

withRemotePathMapping

ProxyConnectionDataBuilder withRemotePathMapping(@NotNull
                                                 String from,
                                                 @NotNull
                                                 String to)
                                                 throws IOException
Throws:
IOException

withRemoteHost

ProxyConnectionDataBuilder withRemoteHost(@Nullable
                                          String host)

withRemotePort

ProxyConnectionDataBuilder withRemotePort(@Nullable
                                          Integer port)

withErrorReceiver

ProxyConnectionDataBuilder withErrorReceiver(ProxyErrorReceiver receiver)

withConnectionDescription

ProxyConnectionDataBuilder withConnectionDescription(@Nullable
                                                     String connectionReason)

withProxyConnectionData

ProxyConnectionDataBuilder withProxyConnectionData(ProxyConnectionData connectionData)

build

ProxyConnectionData build()


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.