com.atlassian.bamboo.plan.artifact
Class ArtifactSubscriptionSubstitutionAwareImpl
java.lang.Object
com.atlassian.bamboo.plan.artifact.ArtifactSubscriptionSubstitutionAwareImpl
- All Implemented Interfaces:
- BambooObject, ArtifactSubscription, ArtifactSubscriptionSubstitutionAware, NameProvider
public class ArtifactSubscriptionSubstitutionAwareImpl
- extends java.lang.Object
- implements ArtifactSubscriptionSubstitutionAware
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArtifactSubscriptionSubstitutionAwareImpl
public ArtifactSubscriptionSubstitutionAwareImpl(ArtifactSubscription artifactSubscription)
getId
public long getId()
- Specified by:
getId
in interface BambooObject
setId
public void setId(long id)
- Specified by:
setId
in interface BambooObject
getVariableName
public java.lang.String getVariableName()
- Specified by:
getVariableName
in interface ArtifactSubscriptionSubstitutionAware
setVariableName
public void setVariableName(java.lang.String name)
- Specified by:
setVariableName
in interface ArtifactSubscriptionSubstitutionAware
getArtifactDefinition
@NotNull
public ArtifactDefinition getArtifactDefinition()
- Description copied from interface:
ArtifactSubscription
- Get definition of artifact we're subscribed to.
- Specified by:
getArtifactDefinition
in interface ArtifactSubscription
- Returns:
ArtifactDefinition
object
getConsumerJob
@NotNull
public Job getConsumerJob()
- Description copied from interface:
ArtifactSubscription
- Get job which consumes the artifact
- Specified by:
getConsumerJob
in interface ArtifactSubscription
- Returns:
Job
object
getDestinationDirectory
public java.lang.String getDestinationDirectory()
- Description copied from interface:
ArtifactSubscription
- Get destination path. This represents a location where consumer job expects to find an artifact.
- Specified by:
getDestinationDirectory
in interface ArtifactSubscription
- Returns:
- Path to the expected location of artifact
getName
public java.lang.String getName()
- Specified by:
getName
in interface NameProvider
setArtifactDefinition
public void setArtifactDefinition(@NotNull
ArtifactDefinition artifactDefinition)
- Specified by:
setArtifactDefinition
in interface ArtifactSubscription
setConsumerJob
public void setConsumerJob(@NotNull
Job consumerJob)
- Specified by:
setConsumerJob
in interface ArtifactSubscription
setDestinationDirectory
public void setDestinationDirectory(java.lang.String destinationDirectory)
- Specified by:
setDestinationDirectory
in interface ArtifactSubscription
Copyright © 2011 Atlassian. All Rights Reserved.