com.atlassian.bamboo.plan.artifact
Interface ArtifactDefinition

All Superinterfaces:
ArtifactDefinitionBase, BambooIdProvider, BambooObject, ImmutableArtifactDefinition, ImmutableArtifactDefinitionBase, NameProvider
All Known Implementing Classes:
ArtifactDefinitionImpl

public interface ArtifactDefinition
extends ImmutableArtifactDefinition, ArtifactDefinitionBase, BambooObject


Method Summary
 Job getProducerJob()
          Get Buildable that is a producer of artifact
 java.util.List<ArtifactSubscription> getSubscriptions()
          Get List of ArtifactSubscriptions on this ArtifactDefinition.
 void setProducerJob(Job producerJob)
          Set Buildable that is a producer of artifact
 void setSubscriptions(java.util.List<ArtifactSubscription> subscriptions)
          Set subscriptions on this artifact definition.
 
Methods inherited from interface com.atlassian.bamboo.plan.artifact.ArtifactDefinitionBase
setCopyPattern, setLocation, setName, setSharedArtifact
 
Methods inherited from interface com.atlassian.bamboo.plan.artifact.ImmutableArtifactDefinitionBase
getCopyPattern, getId, getLocation, getName, isSharedArtifact
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 

Method Detail

getProducerJob

@NotNull
Job getProducerJob()
Get Buildable that is a producer of artifact

Specified by:
getProducerJob in interface ImmutableArtifactDefinition
Returns:
Job object

setProducerJob

void setProducerJob(@NotNull
                    Job producerJob)
Set Buildable that is a producer of artifact

Parameters:
producerJob - new value of producer job

getSubscriptions

@NotNull
java.util.List<ArtifactSubscription> getSubscriptions()
Get List of ArtifactSubscriptions on this ArtifactDefinition.

Specified by:
getSubscriptions in interface ImmutableArtifactDefinition
Returns:
List of ArtifactSubscription objects

setSubscriptions

void setSubscriptions(@NotNull
                      java.util.List<ArtifactSubscription> subscriptions)
Set subscriptions on this artifact definition.

Parameters:
subscriptions - non null list of ArtifactSubscription objects


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.