public class ArtifactSubscriptionSubstitutionAwareImpl extends Object implements ArtifactSubscriptionSubstitutionAware
Constructor and Description |
---|
ArtifactSubscriptionSubstitutionAwareImpl(ArtifactSubscription artifactSubscription) |
Modifier and Type | Method and Description |
---|---|
ArtifactDefinition |
getArtifactDefinition()
Get definition of artifact we're subscribed to.
|
Job |
getConsumerJob()
Get job which consumes the artifact
|
String |
getDestinationDirectory()
Get destination path.
|
long |
getId() |
String |
getName() |
String |
getVariableName() |
void |
setArtifactDefinition(ArtifactDefinition artifactDefinition) |
void |
setConsumerJob(Job consumerJob) |
void |
setDestinationDirectory(String destinationDirectory) |
void |
setId(long id) |
void |
setVariableName(String name) |
public ArtifactSubscriptionSubstitutionAwareImpl(@NotNull ArtifactSubscription artifactSubscription)
public long getId()
getId
in interface BambooIdProvider
public void setId(long id)
setId
in interface BambooObject
public String getVariableName()
getVariableName
in interface ArtifactSubscriptionSubstitutionAware
public void setVariableName(String name)
setVariableName
in interface ArtifactSubscriptionSubstitutionAware
@NotNull public ArtifactDefinition getArtifactDefinition()
ArtifactSubscription
getArtifactDefinition
in interface ArtifactSubscription
getArtifactDefinition
in interface ImmutableArtifactSubscription
ArtifactDefinition
object@NotNull public Job getConsumerJob()
ArtifactSubscription
getConsumerJob
in interface ArtifactSubscription
getConsumerJob
in interface ImmutableArtifactSubscription
Job
objectpublic String getDestinationDirectory()
ImmutableArtifactSubscription
getDestinationDirectory
in interface ImmutableArtifactSubscription
public String getName()
getName
in interface ImmutableArtifactSubscription
getName
in interface NameProvider
public void setArtifactDefinition(@NotNull ArtifactDefinition artifactDefinition)
setArtifactDefinition
in interface ArtifactSubscription
public void setConsumerJob(@NotNull Job consumerJob)
setConsumerJob
in interface ArtifactSubscription
public void setDestinationDirectory(String destinationDirectory)
setDestinationDirectory
in interface ArtifactSubscription
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.