com.atlassian.bamboo.plan.artifact
Class ArtifactSubscriptionImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.plan.artifact.ArtifactSubscriptionImpl
- All Implemented Interfaces:
- BambooIdProvider, BambooObject, ArtifactSubscription, NameProvider, java.lang.Cloneable
public class ArtifactSubscriptionImpl
- extends BambooEntityObject
- implements ArtifactSubscription
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDate |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ArtifactSubscriptionImpl
public ArtifactSubscriptionImpl()
ArtifactSubscriptionImpl
public ArtifactSubscriptionImpl(ArtifactDefinition artifactDefinition,
Job consumerJob,
java.lang.String destinationDirectory)
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 © 2012 Atlassian. All Rights Reserved.