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:
com.atlassian.bamboo.specs.api.model.EntityProperties

@Immutable public class ScpTaskProperties extends BaseSshTaskProperties
  • Constructor Details

    • ScpTaskProperties

      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 com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsIdentifierProperties sharedCredentialsIdentifier, @Nullable @Nullable String hostFingerprint, int port, @Nullable @Nullable ArtifactItemProperties artifactItem, @Nullable @Nullable String localPath, boolean localPathAntStyle, String remotePath, @NotNull @NotNull List<com.atlassian.bamboo.specs.api.model.plan.requirement.RequirementProperties> requirements, @NotNull @NotNull List<? extends com.atlassian.bamboo.specs.api.model.plan.condition.ConditionProperties> conditions) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
      Throws:
      com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
  • Method Details

    • getAtlassianPlugin

      @NotNull public @NotNull com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties getAtlassianPlugin()
      Specified by:
      getAtlassianPlugin in class com.atlassian.bamboo.specs.api.model.task.TaskProperties
    • getArtifactName

      @Deprecated @Nullable public @Nullable String getArtifactName()
      Deprecated.
      since 6.1.0, use getArtifactItem() instead
      Artifact name.
      Returns:
      always null
    • getArtifactItem

      @Nullable public @Nullable ArtifactItemProperties getArtifactItem()
    • getLocalPath

      @Nullable public @Nullable String getLocalPath()
    • isLocalPathAntStyle

      public boolean isLocalPathAntStyle()
    • getRemotePath

      public String getRemotePath()
    • validate

      public void validate() throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
      Specified by:
      validate in interface com.atlassian.bamboo.specs.api.model.EntityProperties
      Overrides:
      validate in class BaseSshTaskProperties
      Throws:
      com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class BaseSshTaskProperties
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BaseSshTaskProperties