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
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
@NotNull ImmutableArtifactDefinition
Get definition of artifact we're subscribed to.@NotNull ImmutableJob
Get job which consumes the artifactGet destination path.long
getId()
getName()
-
Method Details
-
getId
public long getId()- Specified by:
getId
in interfaceBambooIdProvider
-
getName
- Specified by:
getName
in interfaceImmutableArtifactSubscription
- Specified by:
getName
in interfaceNameProvider
-
getArtifactDefinition
Description copied from interface:ImmutableArtifactSubscription
Get definition of artifact we're subscribed to.- Specified by:
getArtifactDefinition
in interfaceImmutableArtifactSubscription
- Returns:
ArtifactDefinition
object
-
getConsumerJob
Description copied from interface:ImmutableArtifactSubscription
Get job which consumes the artifact- Specified by:
getConsumerJob
in interfaceImmutableArtifactSubscription
- Returns:
Job
object
-
getDestinationDirectory
Description copied from interface:ImmutableArtifactSubscription
Get destination path. This represents a location where consumer job expects to find an artifact.- Specified by:
getDestinationDirectory
in interfaceImmutableArtifactSubscription
- Returns:
- Path to the expected location of artifact
-
builder
-