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