Package com.atlassian.bamboo.ssh
Interface ProxyConnectionDataBuilder
- All Known Implementing Classes:
ProxyConnectionDataBuilderImpl
public interface ProxyConnectionDataBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()withConnectionDescription(@Nullable String connectionReason) withErrorReceiver(ProxyErrorReceiver receiver) withKeyFromFile(@NotNull String filePath, @Nullable String passphrase) withKeyFromReader(@NotNull Reader keyReader, @Nullable String passphrase) withKeyFromString(String key, @Nullable String passphrase) withKeyPair(KeyPair keyPair) withProxyConnectionData(ProxyConnectionData connectionData) withRemoteHost(@Nullable String host) withRemotePassword(String password) withRemotePathMapping(@NotNull String from, @NotNull String to) withRemotePort(@Nullable Integer port) withRemoteUserName(String name)
-
Method Details
-
withRemoteUserName
-
withRemotePassword
-
withKeyFromFile
ProxyConnectionDataBuilder withKeyFromFile(@NotNull @NotNull String filePath, @Nullable @Nullable String passphrase) -
withKeyFromString
ProxyConnectionDataBuilder withKeyFromString(String key, @Nullable @Nullable String passphrase) throws IOException - Throws:
IOException
-
withKeyFromReader
ProxyConnectionDataBuilder withKeyFromReader(@NotNull @NotNull Reader keyReader, @Nullable @Nullable String passphrase) throws IOException - Throws:
IOException
-
withKeyPair
-
withRemotePathMapping
ProxyConnectionDataBuilder withRemotePathMapping(@NotNull @NotNull String from, @NotNull @NotNull String to) throws IOException - Throws:
IOException
-
withRemoteHost
-
withRemotePort
-
withErrorReceiver
-
withConnectionDescription
-
withProxyConnectionData
-
build
ProxyConnectionData build()
-