Class ScpTaskProperties

  • All Implemented Interfaces:
    com.atlassian.bamboo.specs.api.model.EntityProperties

    @Immutable
    public class ScpTaskProperties
    extends BaseSshTaskProperties
    • 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 com.atlassian.bamboo.specs.api.model.credentials.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<com.atlassian.bamboo.specs.api.model.plan.requirement.RequirementProperties> requirements,
                                 @NotNull
                                 @NotNull java.util.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 Detail

      • 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 java.lang.String getArtifactName()
        Deprecated.
        since 6.1.0, use getArtifactItem() instead
        Artifact name.
        Returns:
        always null
      • getLocalPath

        @Nullable
        public @Nullable java.lang.String getLocalPath()
      • isLocalPathAntStyle

        public boolean isLocalPathAntStyle()
      • getRemotePath

        public java.lang.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