Class ArtifactDownloaderTask
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<P>
-
- com.atlassian.bamboo.specs.api.builders.task.Task<ArtifactDownloaderTask,ArtifactDownloaderTaskProperties>
-
- com.atlassian.bamboo.specs.builders.task.ArtifactDownloaderTask
-
public class ArtifactDownloaderTask extends com.atlassian.bamboo.specs.api.builders.task.Task<ArtifactDownloaderTask,ArtifactDownloaderTaskProperties>
Represents task that downloads artifacts created by other jobs and plans.
-
-
Constructor Summary
Constructors Constructor Description ArtifactDownloaderTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArtifactDownloaderTaskartifacts(@NotNull DownloadItem... artifacts)Adds download requests.protected @NotNull ArtifactDownloaderTaskPropertiesbuild()booleanequals(java.lang.Object o)inthashCode()ArtifactDownloaderTasksourcePlan(@NotNull com.atlassian.bamboo.specs.api.builders.plan.PlanIdentifier planIdentifier)Specifies the plan that is the source of the artifacts.
-
-
-
Method Detail
-
sourcePlan
public ArtifactDownloaderTask sourcePlan(@NotNull @NotNull com.atlassian.bamboo.specs.api.builders.plan.PlanIdentifier planIdentifier)
Specifies the plan that is the source of the artifacts. If this property is not set, source plan is either the current plan (if the task is used in a job) or the plan associated with the deployment project (if the task is used in a deployment environment).
-
artifacts
public ArtifactDownloaderTask artifacts(@NotNull @NotNull DownloadItem... artifacts)
Adds download requests.
-
build
@NotNull protected @NotNull ArtifactDownloaderTaskProperties build()
- Specified by:
buildin classcom.atlassian.bamboo.specs.api.builders.task.Task<ArtifactDownloaderTask,ArtifactDownloaderTaskProperties>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classcom.atlassian.bamboo.specs.api.builders.task.Task<ArtifactDownloaderTask,ArtifactDownloaderTaskProperties>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.atlassian.bamboo.specs.api.builders.task.Task<ArtifactDownloaderTask,ArtifactDownloaderTaskProperties>
-
-