@Entity public class ArtifactSubscriptionImpl extends HibernateBambooEntityObject implements ArtifactSubscription
Constructor and Description |
---|
ArtifactSubscriptionImpl() |
ArtifactSubscriptionImpl(ArtifactDefinition artifactDefinition,
Job consumerJob,
String destinationDirectory) |
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.
|
String |
getName() |
void |
setArtifactDefinition(ArtifactDefinition artifactDefinition) |
void |
setConsumerJob(Job consumerJob) |
void |
setDestinationDirectory(String destinationDirectory) |
getId, setId
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDate
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
setId
getId
public ArtifactSubscriptionImpl()
public ArtifactSubscriptionImpl(ArtifactDefinition artifactDefinition, Job consumerJob, String destinationDirectory)
@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 © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.