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 ArtifactDefinition
Get definition of artifact we're subscribed to.@NotNull Job
Get job which consumes the artifactvoid
setArtifactDefinition
(@NotNull ArtifactDefinition artifactDefinition) void
setConsumerJob
(@NotNull Job consumerJob) void
setDestinationDirectory
(@Nullable String destinationDirectory) Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
Methods inherited from interface com.atlassian.bamboo.plan.artifact.ImmutableArtifactSubscription
getDestinationDirectory, getName
-
Method Details
-
getArtifactDefinition
Get definition of artifact we're subscribed to.- Specified by:
getArtifactDefinition
in interfaceImmutableArtifactSubscription
- Returns:
ArtifactDefinition
object
-
setArtifactDefinition
-
getConsumerJob
Get job which consumes the artifact- Specified by:
getConsumerJob
in interfaceImmutableArtifactSubscription
- Returns:
Job
object
-
setConsumerJob
-
setDestinationDirectory
-