@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,
String password,
String key,
String passphrase,
SharedCredentialsIdentifierProperties sharedCredentialsIdentifier,
String hostFingerprint,
int port,
int keepAliveIntervalInSec,
String command,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
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 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) throws PropertiesValidationException
PropertiesValidationException
@NotNull public 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 © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.