com.atlassian.bamboo.plan.artifact
Interface ArtifactSubscriptionContext

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ArtifactSubscriptionContextImpl

public interface ArtifactSubscriptionContext
extends java.io.Serializable

This class holds build-time information on artifact subscription. It's used from BuildContext, transferred to the agent and should not contain any lazily references unresolvable on the agent side.


Method Summary
 ArtifactDefinitionContext getArtifactDefinitionContext()
           
 java.lang.String getDestinationPath()
           
 java.lang.String getEffectiveDestinationPath()
           
 SecureToken getToken()
           
 java.lang.String getVariableName()
           
 boolean isSingleFile()
           
 void setEffectiveDestinationPath(java.lang.String relativeDestinationPath)
           
 void setSingleFile(boolean singleFile)
           
 void substituteVariables(CustomVariableContext customVariableContext)
           
 

Method Detail

getArtifactDefinitionContext

ArtifactDefinitionContext getArtifactDefinitionContext()
Returns:
representation of transferred artifact

getToken

@NotNull
SecureToken getToken()
Returns:
secure token used for artifact transfer

getDestinationPath

@NotNull
java.lang.String getDestinationPath()
Returns:
path to artifact as defined in ArtifactSubscription

getVariableName

@NotNull
java.lang.String getVariableName()
Returns:
name of the variable which contains artifact path

isSingleFile

boolean isSingleFile()
Returns:
true iff artifact is a single file

setSingleFile

void setSingleFile(boolean singleFile)

getEffectiveDestinationPath

@NotNull
java.lang.String getEffectiveDestinationPath()
Returns:
actual path to artifact

setEffectiveDestinationPath

void setEffectiveDestinationPath(@NotNull
                                 java.lang.String relativeDestinationPath)

substituteVariables

void substituteVariables(@NotNull
                         CustomVariableContext customVariableContext)


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