com.atlassian.bamboo.plan.artifact
Interface ArtifactDefinitionContext

All Superinterfaces:
ArtifactDefinitionBase, NameProvider, java.io.Serializable
All Known Implementing Classes:
ArtifactDefinitionContextImpl

public interface ArtifactDefinitionContext
extends ArtifactDefinitionBase, java.io.Serializable

This class contains additional artifact information. It's used from BuildContext, transferred to the agent and should not contain any lazily references unreseloveable on the agent side.


Method Summary
 java.lang.String getLinkType()
          The ArtifactLink.getLinkType()
 PlanKey getProducerJobKey()
          PlanKey for producer job of the artifact
 boolean hasSubscribers()
          Marks if there are subscriptions for for this artifact.
 
Methods inherited from interface com.atlassian.bamboo.plan.artifact.ArtifactDefinitionBase
getCopyPattern, getLocation, getName, isSharedArtifact, setCopyPattern, setLocation, setName, setSharedArtifact
 

Method Detail

hasSubscribers

boolean hasSubscribers()
Marks if there are subscriptions for for this artifact. If there are subscriptions and artifact is not created/uploaded properly, producer job will fail. Otherwise, plan job will continue

Returns:
true if artifact has subscriptions

getProducerJobKey

@NotNull
PlanKey getProducerJobKey()
PlanKey for producer job of the artifact

Returns:
producer plan key

getLinkType

@NotNull
java.lang.String getLinkType()
The ArtifactLink.getLinkType()

Returns:
linkType


Copyright © 2011 Atlassian. All Rights Reserved.