com.atlassian.bamboo.plugins.hg
Class ProxyConnectionDataBuilder

java.lang.Object
  extended by com.atlassian.bamboo.plugins.hg.ProxyConnectionDataBuilder

public class ProxyConnectionDataBuilder
extends java.lang.Object


Constructor Summary
ProxyConnectionDataBuilder()
           
 
Method Summary
 ProxyConnectionData build()
           
 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 withRemoteAddress(java.lang.String host, int port)
           
 ProxyConnectionDataBuilder withRemotePassword(java.lang.String password)
           
 ProxyConnectionDataBuilder withRemoteUserName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyConnectionDataBuilder

public ProxyConnectionDataBuilder()
Method Detail

withRemoteUserName

public ProxyConnectionDataBuilder withRemoteUserName(java.lang.String name)

withKeyFromFile

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

withKeyFromString

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

withKeyFromReader

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

withRemoteAddress

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

withErrorReceiver

public ProxyConnectionDataBuilder withErrorReceiver(ProxyErrorReceiver receiver)

withRemotePassword

public ProxyConnectionDataBuilder withRemotePassword(java.lang.String password)

build

public ProxyConnectionData build()
                          throws RepositoryException
Throws:
RepositoryException


Copyright © 2011 Atlassian. All Rights Reserved.