Interface ImmutableArtifactSubscription
- All Superinterfaces:
BambooIdProvider
,NameProvider
- All Known Subinterfaces:
ArtifactSubscription
,ArtifactSubscriptionSubstitutionAware
- All Known Implementing Classes:
ArtifactSubscriptionImpl
,ArtifactSubscriptionSubstitutionAwareImpl
,ImmutableArtifactSubscriptionImpl
-
Method Summary
Modifier and TypeMethodDescription@NotNull ImmutableArtifactDefinition
Get definition of artifact we're subscribed to.@NotNull ImmutableJob
Get job which consumes the artifact@Nullable String
Get destination path.@NotNull String
getName()
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Method Details
-
getName
- Specified by:
getName
in interfaceNameProvider
-
getArtifactDefinition
Get definition of artifact we're subscribed to.- Returns:
ArtifactDefinition
object
-
getConsumerJob
Get job which consumes the artifact- Returns:
Job
object
-
getDestinationDirectory
Get destination path. This represents a location where consumer job expects to find an artifact.- Returns:
- Path to the expected location of artifact
-