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.
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 © 2012 Atlassian. All Rights Reserved.