com.atlassian.bamboo.plan.artifact
Interface ArtifactDefinitionContext

All Superinterfaces:
ArtifactDefinitionBase, BambooIdProvider, ImmutableArtifactDefinitionBase, 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 unresolvable on the agent side.


Method Summary
 java.lang.String getLinkType()
          Deprecated. since 4.4 an artifact can have multiple link types
 SecureToken getSecureToken()
          The secure token to use for authentication if needed
 boolean hasSubscribers()
          Marks if there are subscriptions for for this artifact.
 void substituteVariables(CustomVariableContext customVariableContext)
           
 
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
 

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

getLinkType

@NotNull
@Deprecated
java.lang.String getLinkType()
Deprecated. since 4.4 an artifact can have multiple link types

The ArtifactLink.getLinkType()

Returns:
linkType

substituteVariables

void substituteVariables(CustomVariableContext customVariableContext)

getSecureToken

@Nullable
SecureToken getSecureToken()
The secure token to use for authentication if needed

Returns:


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