com.atlassian.bamboo.plugins.hg
Class ProxyConnectionDataBuilder
java.lang.Object
com.atlassian.bamboo.plugins.hg.ProxyConnectionDataBuilder
public class ProxyConnectionDataBuilder
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyConnectionDataBuilder
public ProxyConnectionDataBuilder()
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.