com.atlassian.bamboo.plan.artifact
Interface ImmutableArtifactSubscription

All Superinterfaces:
BambooIdProvider, NameProvider
All Known Subinterfaces:
ArtifactSubscription, ArtifactSubscriptionSubstitutionAware
All Known Implementing Classes:
ArtifactSubscriptionImpl, ArtifactSubscriptionSubstitutionAwareImpl, ImmutableArtifactSubscriptionImpl

public interface ImmutableArtifactSubscription
extends BambooIdProvider, NameProvider


Method Summary
 ImmutableArtifactDefinition getArtifactDefinition()
          Get definition of artifact we're subscribed to.
 ImmutableJob getConsumerJob()
          Get job which consumes the artifact
 java.lang.String getDestinationDirectory()
          Get destination path.
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 
Methods inherited from interface com.atlassian.bamboo.utils.NameProvider
getName
 

Method Detail

getArtifactDefinition

@NotNull
ImmutableArtifactDefinition getArtifactDefinition()
Get definition of artifact we're subscribed to.

Returns:
ArtifactDefinition object

getConsumerJob

@NotNull
ImmutableJob getConsumerJob()
Get job which consumes the artifact

Returns:
Job object

getDestinationDirectory

@Nullable
java.lang.String getDestinationDirectory()
Get destination path. This represents a location where consumer job expects to find an artifact.

Returns:
Path to the expected location of artifact


Copyright © 2012 Atlassian. All Rights Reserved.