@Immutable public class ScpTaskProperties extends BaseSshTaskProperties
BaseSshTaskProperties.AuthenticationTypeDEFAULT_PORT| Constructor and Description |
|---|
ScpTaskProperties(String description,
boolean enabled,
String host,
String username,
BaseSshTaskProperties.AuthenticationType authenticationType,
String password,
String key,
String passphrase,
SharedCredentialsIdentifierProperties sharedCredentialsIdentifier,
String hostFingerprint,
int port,
ArtifactItemProperties artifactItem,
String localPath,
boolean localPathAntStyle,
String remotePath) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ArtifactItemProperties |
getArtifactItem() |
String |
getArtifactName()
Deprecated.
since 6.1.0, use
getArtifactItem() instead |
AtlassianModuleProperties |
getAtlassianPlugin() |
String |
getLocalPath() |
String |
getRemotePath() |
int |
hashCode() |
boolean |
isLocalPathAntStyle() |
void |
validate() |
getAuthenticationType, getHost, getHostFingerprint, getKey, getPassphrase, getPassword, getPort, getSharedCredentialsIdentifierProperties, getUsernameapplicableTo, getDescription, isEnabled, toStringpublic ScpTaskProperties(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, @Nullable ArtifactItemProperties artifactItem, @Nullable String localPath, boolean localPathAntStyle, String remotePath) throws PropertiesValidationException
PropertiesValidationException@NotNull public AtlassianModuleProperties getAtlassianPlugin()
getAtlassianPlugin in class TaskProperties@Deprecated @Nullable public String getArtifactName()
getArtifactItem() instead@Nullable public ArtifactItemProperties getArtifactItem()
@Nullable public String getLocalPath()
public boolean isLocalPathAntStyle()
public String getRemotePath()
public void validate()
throws PropertiesValidationException
validate in interface EntityPropertiesvalidate in class BaseSshTaskPropertiesPropertiesValidationExceptionpublic boolean equals(Object o)
equals in class BaseSshTaskPropertiespublic int hashCode()
hashCode in class BaseSshTaskPropertiesCopyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.