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,
String password,
String key,
String passphrase,
SharedCredentialsIdentifierProperties sharedCredentialsIdentifierProperties,
String hostFingerprint,
int port,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
BaseSshTaskProperties.AuthenticationType |
getAuthenticationType() |
String |
getHost() |
String |
getHostFingerprint() |
String |
getKey() |
String |
getPassphrase() |
String |
getPassword() |
int |
getPort() |
SharedCredentialsIdentifierProperties |
getSharedCredentialsIdentifierProperties() |
String |
getUsername() |
int |
hashCode() |
void |
validate() |
applicableTo, getAtlassianPlugin, getConditions, getDescription, getRequirements, isEnabled, toStringprotected BaseSshTaskProperties()
public 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) throws PropertiesValidationException
PropertiesValidationExceptionpublic String getHost()
public String getUsername()
public BaseSshTaskProperties.AuthenticationType getAuthenticationType()
@Nullable public String getPassword()
@Nullable public String getKey()
@Nullable public String getPassphrase()
@Nullable public SharedCredentialsIdentifierProperties getSharedCredentialsIdentifierProperties()
@Nullable public String getHostFingerprint()
public int getPort()
public void validate()
throws PropertiesValidationException
validate in interface EntityPropertiesvalidate in class TaskPropertiesPropertiesValidationExceptionpublic boolean equals(Object o)
equals in class TaskPropertiespublic int hashCode()
hashCode in class TaskPropertiesCopyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.