@Immutable public class ScpTaskProperties extends BaseSshTaskProperties
BaseSshTaskProperties.AuthenticationType
DEFAULT_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,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
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, getUsername
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
public 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, @NotNull List<RequirementProperties> requirements, @NotNull List<? extends ConditionProperties> conditions) 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 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.