Class ArtifactSubscriptionSubstitutionAwareImpl
java.lang.Object
com.atlassian.bamboo.plan.artifact.ArtifactSubscriptionSubstitutionAwareImpl
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,ArtifactSubscription
,ArtifactSubscriptionSubstitutionAware
,ImmutableArtifactSubscription
,NameProvider
public class ArtifactSubscriptionSubstitutionAwareImpl
extends Object
implements ArtifactSubscriptionSubstitutionAware
-
Constructor Summary
ConstructorDescriptionArtifactSubscriptionSubstitutionAwareImpl
(@NotNull ArtifactSubscription artifactSubscription) -
Method Summary
Modifier and TypeMethodDescription@NotNull ArtifactDefinition
Get definition of artifact we're subscribed to.@NotNull Job
Get job which consumes the artifactGet destination path.long
getId()
getName()
void
setArtifactDefinition
(@NotNull ArtifactDefinition artifactDefinition) void
setConsumerJob
(@NotNull Job consumerJob) void
setDestinationDirectory
(String destinationDirectory) void
setId
(long id) void
setVariableName
(String name)
-
Constructor Details
-
ArtifactSubscriptionSubstitutionAwareImpl
public ArtifactSubscriptionSubstitutionAwareImpl(@NotNull @NotNull ArtifactSubscription artifactSubscription)
-
-
Method Details
-
getId
public long getId()- Specified by:
getId
in interfaceBambooIdProvider
-
setId
public void setId(long id) - Specified by:
setId
in interfaceBambooObject
-
getVariableName
- Specified by:
getVariableName
in interfaceArtifactSubscriptionSubstitutionAware
-
setVariableName
- Specified by:
setVariableName
in interfaceArtifactSubscriptionSubstitutionAware
-
getArtifactDefinition
Description copied from interface:ArtifactSubscription
Get definition of artifact we're subscribed to.- Specified by:
getArtifactDefinition
in interfaceArtifactSubscription
- Specified by:
getArtifactDefinition
in interfaceImmutableArtifactSubscription
- Returns:
ArtifactDefinition
object
-
getConsumerJob
Description copied from interface:ArtifactSubscription
Get job which consumes the artifact- Specified by:
getConsumerJob
in interfaceArtifactSubscription
- 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
-
getName
- Specified by:
getName
in interfaceImmutableArtifactSubscription
- Specified by:
getName
in interfaceNameProvider
-
setArtifactDefinition
- Specified by:
setArtifactDefinition
in interfaceArtifactSubscription
-
setConsumerJob
- Specified by:
setConsumerJob
in interfaceArtifactSubscription
-
setDestinationDirectory
- Specified by:
setDestinationDirectory
in interfaceArtifactSubscription
-