public class SshTask extends BaseSshTask<SshTask,SshTaskProperties>
| Modifier and Type | Field and Description |
|---|---|
protected @Nullable Duration |
keepAliveInterval |
authenticationType, hostFingerprint, hosts, key, passphrase, password, port, sharedCredentials, usernameconditions, description, requirements, taskEnabled| Constructor and Description |
|---|
SshTask() |
| Modifier and Type | Method and Description |
|---|---|
protected @NotNull SshTaskProperties |
build() |
SshTask |
command(@NotNull Path path) |
SshTask |
command(@NotNull String command)
Shell command to execute on the remote host.
|
boolean |
equals(Object o) |
int |
hashCode() |
SshTask |
keepAliveInterval(Duration keepAliveInterval)
Sets the SSH keep alive interval.
|
SshTask |
keepAliveIntervalInSeconds(int keepAliveIntervalSeconds)
Sets the SSH keep alive interval in seconds.
|
authenticateWithKey, authenticateWithKey, authenticateWithKeyWithPassphrase, authenticateWithKeyWithPassphrase, authenticateWithPassword, authenticateWithSshSharedCredentials, authenticateWithUsernamePasswordSharedCredentials, host, host, hostFingerprint, port, portDefault, usernameconditions, description, enabled, requirements, toString@Nullable protected @Nullable Duration keepAliveInterval
public SshTask command(@NotNull @NotNull String command)
public SshTask keepAliveInterval(Duration keepAliveInterval)
public SshTask keepAliveIntervalInSeconds(int keepAliveIntervalSeconds)
@NotNull protected @NotNull SshTaskProperties build()
build in class Task<SshTask,SshTaskProperties>public boolean equals(Object o)
equals in class BaseSshTask<SshTask,SshTaskProperties>public int hashCode()
hashCode in class BaseSshTask<SshTask,SshTaskProperties>Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.