Class ArtifactSubscription
java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<ArtifactSubscriptionProperties>
com.atlassian.bamboo.specs.api.builders.plan.artifact.ArtifactSubscription
Represents an artifact subscription.
Artifact subscriptions define jobs that use an artifact.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets name of the artifact to download.protected ArtifactSubscriptionProperties
build()
destination
(@NotNull String destination) Sets artifact download destination.
-
Constructor Details
-
ArtifactSubscription
public ArtifactSubscription()Specify an artifact subscription.
-
-
Method Details
-
artifact
Sets name of the artifact to download. Artifact must be defined in one of the preceding stages. -
destination
public ArtifactSubscription destination(@NotNull @NotNull String destination) throws PropertiesValidationException Sets artifact download destination. Empty by default.- Parameters:
destination
- to download artifact to. Can be both relative and absolute path.- Throws:
PropertiesValidationException
-
build
- Specified by:
build
in classEntityPropertiesBuilder<ArtifactSubscriptionProperties>
-