public class ArtifactSubscription extends EntityPropertiesBuilder<ArtifactSubscriptionProperties>
Artifact subscriptions define jobs that use an artifact.
Constructor and Description |
---|
ArtifactSubscription()
Specify an artifact subscription.
|
Modifier and Type | Method and Description |
---|---|
ArtifactSubscription |
artifact(String artifactName)
Sets name of the artifact to download.
|
protected ArtifactSubscriptionProperties |
build() |
ArtifactSubscription |
destination(String destination)
Sets artifact download destination.
|
public ArtifactSubscription()
public ArtifactSubscription artifact(@NotNull String artifactName)
public ArtifactSubscription destination(@NotNull String destination) throws PropertiesValidationException
destination
- to download artifact to. Can be both relative and absolute path.PropertiesValidationException
protected ArtifactSubscriptionProperties build()
build
in class EntityPropertiesBuilder<ArtifactSubscriptionProperties>
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.