Class ScpTaskProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.task.TaskProperties
-
- com.atlassian.bamboo.specs.model.task.BaseSshTaskProperties
-
- com.atlassian.bamboo.specs.model.task.ScpTaskProperties
-
- All Implemented Interfaces:
EntityProperties
@Immutable public class ScpTaskProperties extends BaseSshTaskProperties
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.bamboo.specs.model.task.BaseSshTaskProperties
BaseSshTaskProperties.AuthenticationType
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.specs.model.task.BaseSshTaskProperties
DEFAULT_PORT
-
-
Constructor Summary
Constructors Constructor Description ScpTaskProperties(java.lang.String description, boolean enabled, java.lang.String host, java.lang.String username, BaseSshTaskProperties.AuthenticationType authenticationType, @Nullable java.lang.String password, @Nullable java.lang.String key, @Nullable java.lang.String passphrase, @Nullable SharedCredentialsIdentifierProperties sharedCredentialsIdentifier, @Nullable java.lang.String hostFingerprint, int port, @Nullable ArtifactItemProperties artifactItem, @Nullable java.lang.String localPath, boolean localPathAntStyle, java.lang.String remotePath, @NotNull java.util.List<RequirementProperties> requirements, @NotNull java.util.List<? extends ConditionProperties> conditions)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@Nullable ArtifactItemPropertiesgetArtifactItem()@Nullable java.lang.StringgetArtifactName()Deprecated.since 6.1.0, usegetArtifactItem()instead@NotNull AtlassianModulePropertiesgetAtlassianPlugin()@Nullable java.lang.StringgetLocalPath()java.lang.StringgetRemotePath()inthashCode()booleanisLocalPathAntStyle()voidvalidate()-
Methods inherited from class com.atlassian.bamboo.specs.model.task.BaseSshTaskProperties
getAuthenticationType, getHost, getHostFingerprint, getKey, getPassphrase, getPassword, getPort, getSharedCredentialsIdentifierProperties, getUsername
-
Methods inherited from class com.atlassian.bamboo.specs.api.model.task.TaskProperties
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
-
-
-
-
Constructor Detail
-
ScpTaskProperties
public ScpTaskProperties(java.lang.String description, boolean enabled, java.lang.String host, java.lang.String username, BaseSshTaskProperties.AuthenticationType authenticationType, @Nullable @Nullable java.lang.String password, @Nullable @Nullable java.lang.String key, @Nullable @Nullable java.lang.String passphrase, @Nullable @Nullable SharedCredentialsIdentifierProperties sharedCredentialsIdentifier, @Nullable @Nullable java.lang.String hostFingerprint, int port, @Nullable @Nullable ArtifactItemProperties artifactItem, @Nullable @Nullable java.lang.String localPath, boolean localPathAntStyle, java.lang.String remotePath, @NotNull @NotNull java.util.List<RequirementProperties> requirements, @NotNull @NotNull java.util.List<? extends ConditionProperties> conditions) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
-
Method Detail
-
getAtlassianPlugin
@NotNull public @NotNull AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPluginin classTaskProperties
-
getArtifactName
@Deprecated @Nullable public @Nullable java.lang.String getArtifactName()
Deprecated.since 6.1.0, usegetArtifactItem()insteadArtifact name.- Returns:
- always null
-
getArtifactItem
@Nullable public @Nullable ArtifactItemProperties getArtifactItem()
-
getLocalPath
@Nullable public @Nullable java.lang.String getLocalPath()
-
isLocalPathAntStyle
public boolean isLocalPathAntStyle()
-
getRemotePath
public java.lang.String getRemotePath()
-
validate
public void validate() throws PropertiesValidationException- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classBaseSshTaskProperties- Throws:
PropertiesValidationException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classBaseSshTaskProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseSshTaskProperties
-
-