Interface ArtifactSubscription
- All Superinterfaces:
BambooIdProvider,BambooObject,ImmutableArtifactSubscription,NameProvider
- All Known Subinterfaces:
ArtifactSubscriptionSubstitutionAware
- All Known Implementing Classes:
ArtifactSubscriptionImpl,ArtifactSubscriptionSubstitutionAwareImpl
Interface for Artifact Subscription
-
Method Summary
Modifier and TypeMethodDescription@NotNull ArtifactDefinitionGet definition of artifact we're subscribed to.@NotNull JobGet job which consumes the artifactvoidsetArtifactDefinition(@NotNull ArtifactDefinition artifactDefinition) voidsetConsumerJob(@NotNull Job consumerJob) voidsetDestinationDirectory(@Nullable String destinationDirectory) Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setIdMethods inherited from interface com.atlassian.bamboo.plan.artifact.ImmutableArtifactSubscription
getDestinationDirectory, getName
-
Method Details
-
getArtifactDefinition
Get definition of artifact we're subscribed to.- Specified by:
getArtifactDefinitionin interfaceImmutableArtifactSubscription- Returns:
ArtifactDefinitionobject
-
setArtifactDefinition
-
getConsumerJob
Get job which consumes the artifact- Specified by:
getConsumerJobin interfaceImmutableArtifactSubscription- Returns:
Jobobject
-
setConsumerJob
-
setDestinationDirectory
-