com.atlassian.bamboo.plan.artifact
Class ArtifactSubscriptionContextImpl
java.lang.Object
com.atlassian.bamboo.plan.artifact.ArtifactSubscriptionContextImpl
- All Implemented Interfaces:
- ArtifactSubscriptionContext, java.io.Serializable
public class ArtifactSubscriptionContextImpl
- extends java.lang.Object
- implements ArtifactSubscriptionContext
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ArtifactSubscriptionContextImpl
public ArtifactSubscriptionContextImpl(@NotNull
ArtifactDefinitionContext artifactDefinitionContext,
@Nullable
java.lang.String destinationPath,
@NotNull
SecureToken token,
@NotNull
java.lang.String variableName)
substituteVariables
public void substituteVariables(@NotNull
CustomVariableContext customVariableContext)
- Specified by:
substituteVariables
in interface ArtifactSubscriptionContext
getArtifactDefinitionContext
public ArtifactDefinitionContext getArtifactDefinitionContext()
- Specified by:
getArtifactDefinitionContext
in interface ArtifactSubscriptionContext
- Returns:
- representation of transferred artifact
getDestinationPath
@NotNull
public java.lang.String getDestinationPath()
- Specified by:
getDestinationPath
in interface ArtifactSubscriptionContext
- Returns:
- path to artifact as defined in
ArtifactSubscription
getToken
@NotNull
public SecureToken getToken()
- Specified by:
getToken
in interface ArtifactSubscriptionContext
- Returns:
- secure token used for artifact transfer
getVariableName
@NotNull
public java.lang.String getVariableName()
- Specified by:
getVariableName
in interface ArtifactSubscriptionContext
- Returns:
- name of the variable which contains artifact path
isSingleFile
public boolean isSingleFile()
- Specified by:
isSingleFile
in interface ArtifactSubscriptionContext
- Returns:
- true iff artifact is a single file
setSingleFile
public void setSingleFile(boolean singleFile)
- Specified by:
setSingleFile
in interface ArtifactSubscriptionContext
getEffectiveDestinationPath
@NotNull
public java.lang.String getEffectiveDestinationPath()
- Specified by:
getEffectiveDestinationPath
in interface ArtifactSubscriptionContext
- Returns:
- actual path to artifact
setEffectiveDestinationPath
public void setEffectiveDestinationPath(@NotNull
java.lang.String effectiveDestinationPath)
- Specified by:
setEffectiveDestinationPath
in interface ArtifactSubscriptionContext
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2012 Atlassian. All Rights Reserved.