Class DownloadItem
java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<DownloadItemProperties>
com.atlassian.bamboo.specs.builders.task.DownloadItem
Represents a single download request.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallArtifacts
(boolean allArtifacts) Requests downloading all the artifacts provided by the source plan.Requests downloading a specific artifact.protected DownloadItemProperties
build()
Specifies the path artifact should be downloaded to.
-
Constructor Details
-
DownloadItem
public DownloadItem()
-
-
Method Details
-
allArtifacts
Requests downloading all the artifacts provided by the source plan. If specific artifact was selected, the selection is removed. -
artifact
Requests downloading a specific artifact. Sets "allArtifacts" to false. -
path
Specifies the path artifact should be downloaded to. The path can be both absolute and relative to the build working directory. Empty by default. -
build
- Specified by:
build
in classEntityPropertiesBuilder<DownloadItemProperties>
-