Class ImmutableArtifactSubscriptionImpl
java.lang.Object
com.atlassian.bamboo.plan.artifact.ImmutableArtifactSubscriptionImpl
- All Implemented Interfaces:
BambooIdProvider,ImmutableArtifactSubscription,NameProvider
public class ImmutableArtifactSubscriptionImpl
extends Object
implements ImmutableArtifactSubscription
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()@NotNull ImmutableArtifactDefinitionGet definition of artifact we're subscribed to.@NotNull ImmutableJobGet job which consumes the artifactGet destination path.longgetId()getName()
-
Method Details
-
getId
public long getId()- Specified by:
getIdin interfaceBambooIdProvider
-
getName
- Specified by:
getNamein interfaceImmutableArtifactSubscription- Specified by:
getNamein interfaceNameProvider
-
getArtifactDefinition
Description copied from interface:ImmutableArtifactSubscriptionGet definition of artifact we're subscribed to.- Specified by:
getArtifactDefinitionin interfaceImmutableArtifactSubscription- Returns:
ArtifactDefinitionobject
-
getConsumerJob
Description copied from interface:ImmutableArtifactSubscriptionGet job which consumes the artifact- Specified by:
getConsumerJobin interfaceImmutableArtifactSubscription- Returns:
Jobobject
-
getDestinationDirectory
Description copied from interface:ImmutableArtifactSubscriptionGet destination path. This represents a location where consumer job expects to find an artifact.- Specified by:
getDestinationDirectoryin interfaceImmutableArtifactSubscription- Returns:
- Path to the expected location of artifact
-
builder
-