Package com.atlassian.bamboo.plugins.ssh
Class ProxyConnectionDataBuilderImpl
java.lang.Object
com.atlassian.bamboo.plugins.ssh.ProxyConnectionDataBuilderImpl
- All Implemented Interfaces:
ProxyConnectionDataBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withConnectionDescription
(@Nullable String connectionDescription) withErrorReceiver
(ProxyErrorReceiver receiver) withKeyFromFile
(@NotNull String filePath, @Nullable String passphrase) withKeyFromReader
(@NotNull Reader keyReader, @Nullable String passphrase) Deprecated.since 8.1 does not support key formats other than PEMwithKeyFromString
(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)
-
Constructor Details
-
ProxyConnectionDataBuilderImpl
public ProxyConnectionDataBuilderImpl()
-
-
Method Details
-
withRemoteUserName
- Specified by:
withRemoteUserName
in interfaceProxyConnectionDataBuilder
-
withKeyFromFile
public ProxyConnectionDataBuilderImpl withKeyFromFile(@NotNull @NotNull String filePath, @Nullable @Nullable String passphrase) - Specified by:
withKeyFromFile
in interfaceProxyConnectionDataBuilder
-
withKeyFromString
public ProxyConnectionDataBuilderImpl withKeyFromString(String key, @Nullable @Nullable String passphrase) - Specified by:
withKeyFromString
in interfaceProxyConnectionDataBuilder
-
withRemotePathMapping
public ProxyConnectionDataBuilderImpl withRemotePathMapping(@NotNull @NotNull String from, @NotNull @NotNull String to) - Specified by:
withRemotePathMapping
in interfaceProxyConnectionDataBuilder
-
withConnectionDescription
public ProxyConnectionDataBuilderImpl withConnectionDescription(@Nullable @Nullable String connectionDescription) - Specified by:
withConnectionDescription
in interfaceProxyConnectionDataBuilder
-
withKeyFromReader
@Deprecated public ProxyConnectionDataBuilderImpl withKeyFromReader(@NotNull @NotNull Reader keyReader, @Nullable @Nullable String passphrase) throws IOException Deprecated.since 8.1 does not support key formats other than PEM- Specified by:
withKeyFromReader
in interfaceProxyConnectionDataBuilder
- Throws:
IOException
-
withKeyPair
- Specified by:
withKeyPair
in interfaceProxyConnectionDataBuilder
-
withRemoteHost
- Specified by:
withRemoteHost
in interfaceProxyConnectionDataBuilder
-
withRemotePort
- Specified by:
withRemotePort
in interfaceProxyConnectionDataBuilder
-
withErrorReceiver
- Specified by:
withErrorReceiver
in interfaceProxyConnectionDataBuilder
-
withRemotePassword
- Specified by:
withRemotePassword
in interfaceProxyConnectionDataBuilder
-
build
- Specified by:
build
in interfaceProxyConnectionDataBuilder
-
withProxyConnectionData
- Specified by:
withProxyConnectionData
in interfaceProxyConnectionDataBuilder
-