com.atlassian.bamboo.plan.artifact
Interface ArtifactDefinition

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

public interface ArtifactDefinition
extends 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
getCopyPattern, getId, getLocation, getName, isSharedArtifact, setCopyPattern, setLocation, setName, setSharedArtifact
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

Method Detail

getProducerJob

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

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.

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 © 2012 Atlassian. All Rights Reserved.