Package com.atlassian.bamboo.plugins.ssh
Class ProxyConnectionDataBuilderImpl
java.lang.Object
com.atlassian.bamboo.plugins.ssh.ProxyConnectionDataBuilderImpl
- All Implemented Interfaces:
ProxyConnectionDataBuilder
-
Constructor Summary
Constructors -
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:
withRemoteUserNamein interfaceProxyConnectionDataBuilder
-
withKeyFromFile
public ProxyConnectionDataBuilderImpl withKeyFromFile(@NotNull @NotNull String filePath, @Nullable @Nullable String passphrase) - Specified by:
withKeyFromFilein interfaceProxyConnectionDataBuilder
-
withKeyFromString
public ProxyConnectionDataBuilderImpl withKeyFromString(String key, @Nullable @Nullable String passphrase) - Specified by:
withKeyFromStringin interfaceProxyConnectionDataBuilder
-
withRemotePathMapping
public ProxyConnectionDataBuilderImpl withRemotePathMapping(@NotNull @NotNull String from, @NotNull @NotNull String to) - Specified by:
withRemotePathMappingin interfaceProxyConnectionDataBuilder
-
withConnectionDescription
public ProxyConnectionDataBuilderImpl withConnectionDescription(@Nullable @Nullable String connectionDescription) - Specified by:
withConnectionDescriptionin 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:
withKeyFromReaderin interfaceProxyConnectionDataBuilder- Throws:
IOException
-
withKeyPair
- Specified by:
withKeyPairin interfaceProxyConnectionDataBuilder
-
withRemoteHost
- Specified by:
withRemoteHostin interfaceProxyConnectionDataBuilder
-
withRemotePort
- Specified by:
withRemotePortin interfaceProxyConnectionDataBuilder
-
withErrorReceiver
- Specified by:
withErrorReceiverin interfaceProxyConnectionDataBuilder
-
withRemotePassword
- Specified by:
withRemotePasswordin interfaceProxyConnectionDataBuilder
-
build
- Specified by:
buildin interfaceProxyConnectionDataBuilder
-
withProxyConnectionData
- Specified by:
withProxyConnectionDatain interfaceProxyConnectionDataBuilder
-