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(@NotNull String artifactName)
Sets name of the artifact to download.
|
protected ArtifactSubscriptionProperties |
build() |
ArtifactSubscription |
destination(@NotNull String destination)
Sets artifact download destination.
|
public ArtifactSubscription()
public ArtifactSubscription artifact(@NotNull @NotNull String artifactName)
public ArtifactSubscription destination(@NotNull @NotNull String destination) throws PropertiesValidationException
destination - to download artifact to. Can be both relative and absolute path.PropertiesValidationExceptionprotected ArtifactSubscriptionProperties build()
build in class EntityPropertiesBuilder<ArtifactSubscriptionProperties>Copyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.