Interface ArtifactDefinition
- All Superinterfaces:
ArtifactDefinitionBase
,BambooIdProvider
,BambooObject
,ImmutableArtifactDefinition
,ImmutableArtifactDefinitionBase
,NameProvider
,VersionedEntityComponent<Chain>
- All Known Implementing Classes:
ArtifactDefinitionImpl
public interface ArtifactDefinition
extends ImmutableArtifactDefinition, ArtifactDefinitionBase, BambooObject, VersionedEntityComponent<Chain>
-
Method Summary
Modifier and TypeMethodDescription@NotNull Job
Get Buildable that is a producer of artifact@NotNull List<ArtifactSubscription>
Get List of ArtifactSubscriptions on this ArtifactDefinition.void
setProducerJob
(@NotNull Job producerJob) Set Buildable that is a producer of artifactvoid
setSubscriptions
(@NotNull List<ArtifactSubscription> subscriptions) Set subscriptions on this artifact definition.Methods inherited from interface com.atlassian.bamboo.plan.artifact.ArtifactDefinitionBase
setCopyPattern, setCopyPatterns, setExclusionPatterns, setHttpCompressionOn, setLocation, setName, setRequired, setSharedArtifact
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
Methods inherited from interface com.atlassian.bamboo.plan.artifact.ImmutableArtifactDefinition
hasSubscriptions
Methods inherited from interface com.atlassian.bamboo.plan.artifact.ImmutableArtifactDefinitionBase
getCopyPattern, getCopyPatterns, getExclusionPatterns, getId, getLocation, getName, isHttpCompressionOn, isRequired, isSharedArtifact
Methods inherited from interface com.atlassian.bamboo.versioning.VersionedEntityComponent
getRoot
-
Method Details
-
getProducerJob
Get Buildable that is a producer of artifact- Specified by:
getProducerJob
in interfaceImmutableArtifactDefinition
- Returns:
Job
object
-
setProducerJob
Set Buildable that is a producer of artifact- Parameters:
producerJob
- new value of producer job
-
getSubscriptions
Get List of ArtifactSubscriptions on this ArtifactDefinition.- Specified by:
getSubscriptions
in interfaceImmutableArtifactDefinition
- Returns:
- List of
ArtifactSubscription
objects
-
setSubscriptions
Set subscriptions on this artifact definition.- Parameters:
subscriptions
- non null list ofArtifactSubscription
objects
-