@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,
@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) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
@Nullable ArtifactItemProperties |
getArtifactItem() |
@Nullable String |
getArtifactName()
Deprecated.
since 6.1.0, use
getArtifactItem() instead |
@NotNull AtlassianModuleProperties |
getAtlassianPlugin() |
@Nullable 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 @Nullable String password, @Nullable @Nullable String key, @Nullable @Nullable String passphrase, @Nullable @Nullable SharedCredentialsIdentifierProperties sharedCredentialsIdentifier, @Nullable @Nullable String hostFingerprint, int port, @Nullable @Nullable ArtifactItemProperties artifactItem, @Nullable @Nullable String localPath, boolean localPathAntStyle, String remotePath, @NotNull @NotNull List<RequirementProperties> requirements, @NotNull @NotNull List<? extends ConditionProperties> conditions) throws PropertiesValidationException
PropertiesValidationException
@NotNull public @NotNull AtlassianModuleProperties getAtlassianPlugin()
getAtlassianPlugin
in class TaskProperties
@Deprecated @Nullable public @Nullable String getArtifactName()
getArtifactItem()
instead@Nullable public @Nullable ArtifactItemProperties getArtifactItem()
@Nullable public @Nullable 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 © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.