Interface ArtifactSubscription
-
- All Superinterfaces:
BambooIdProvider
,BambooObject
,ImmutableArtifactSubscription
,NameProvider
- All Known Subinterfaces:
ArtifactSubscriptionSubstitutionAware
- All Known Implementing Classes:
ArtifactSubscriptionImpl
,ArtifactSubscriptionSubstitutionAwareImpl
public interface ArtifactSubscription extends ImmutableArtifactSubscription, BambooObject
Interface for Artifact Subscription
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull ArtifactDefinition
getArtifactDefinition()
Get definition of artifact we're subscribed to.@NotNull Job
getConsumerJob()
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 Detail
-
getArtifactDefinition
@NotNull @NotNull ArtifactDefinition getArtifactDefinition()
Get definition of artifact we're subscribed to.- Specified by:
getArtifactDefinition
in interfaceImmutableArtifactSubscription
- Returns:
ArtifactDefinition
object
-
setArtifactDefinition
void setArtifactDefinition(@NotNull @NotNull ArtifactDefinition artifactDefinition)
-
getConsumerJob
@NotNull @NotNull Job getConsumerJob()
Get job which consumes the artifact- Specified by:
getConsumerJob
in interfaceImmutableArtifactSubscription
- Returns:
Job
object
-
setConsumerJob
void setConsumerJob(@NotNull @NotNull Job consumerJob)
-
setDestinationDirectory
void setDestinationDirectory(@Nullable @Nullable String destinationDirectory)
-
-