@Immutable public class SshTaskProperties extends BaseSshTaskProperties
BaseSshTaskProperties.AuthenticationType
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_KEEP_ALIVE_INTERVAL |
DEFAULT_PORT
Constructor and Description |
---|
SshTaskProperties(String description,
boolean enabled,
String host,
String username,
BaseSshTaskProperties.AuthenticationType authenticationType,
@Nullable String password,
@Nullable String key,
@Nullable String passphrase,
@Nullable SharedCredentialsIdentifierProperties sharedCredentialsIdentifier,
@Nullable String hostFingerprint,
int port,
int keepAliveIntervalInSec,
String command,
List<RequirementProperties> requirements,
@NotNull List<? extends ConditionProperties> conditions) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
@NotNull AtlassianModuleProperties |
getAtlassianPlugin() |
String |
getCommand() |
int |
getKeepAliveIntervalInSec() |
int |
hashCode() |
void |
validate() |
getAuthenticationType, getHost, getHostFingerprint, getKey, getPassphrase, getPassword, getPort, getSharedCredentialsIdentifierProperties, getUsername
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
public SshTaskProperties(String description, boolean enabled, String host, String username, BaseSshTaskProperties.AuthenticationType authenticationType, @Nullable @Nullable String password, @Nullable @Nullable String key, @Nullable @Nullable String passphrase, @Nullable @Nullable SharedCredentialsIdentifierProperties sharedCredentialsIdentifier, @Nullable @Nullable String hostFingerprint, int port, int keepAliveIntervalInSec, String command, List<RequirementProperties> requirements, @NotNull @NotNull List<? extends ConditionProperties> conditions) throws PropertiesValidationException
PropertiesValidationException
@NotNull public @NotNull AtlassianModuleProperties getAtlassianPlugin()
getAtlassianPlugin
in class TaskProperties
public String getCommand()
public int getKeepAliveIntervalInSec()
public void validate() throws PropertiesValidationException
validate
in interface EntityProperties
validate
in class BaseSshTaskProperties
PropertiesValidationException
public boolean equals(Object o)
equals
in class BaseSshTaskProperties
public int hashCode()
hashCode
in class BaseSshTaskProperties
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.