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.
 java.lang.String getName()
           
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

Method Detail

getName

@NotNull
java.lang.String getName()
Specified by:
getName in interface NameProvider

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 © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.