Interface ImmutableArtifactDefinition
-
- All Superinterfaces:
BambooIdProvider
,ImmutableArtifactDefinitionBase
,NameProvider
- All Known Subinterfaces:
ArtifactDefinition
- All Known Implementing Classes:
ArtifactDefinitionImpl
,ImmutableArtifactDefinitionImpl
public interface ImmutableArtifactDefinition extends ImmutableArtifactDefinitionBase
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull ImmutableJob
getProducerJob()
Get Buildable that is a producer of artifact@NotNull List<? extends ImmutableArtifactSubscription>
getSubscriptions()
Get List of ArtifactSubscriptions on this ArtifactDefinition.boolean
hasSubscriptions()
-
Methods inherited from interface com.atlassian.bamboo.plan.artifact.ImmutableArtifactDefinitionBase
getCopyPattern, getCopyPatterns, getExclusionPatterns, getId, getLocation, getName, isHttpCompressionOn, isRequired, isSharedArtifact
-
-
-
-
Method Detail
-
getProducerJob
@NotNull @NotNull ImmutableJob getProducerJob()
Get Buildable that is a producer of artifact- Returns:
Job
object
-
getSubscriptions
@NotNull @NotNull List<? extends ImmutableArtifactSubscription> getSubscriptions()
Get List of ArtifactSubscriptions on this ArtifactDefinition.- Returns:
- List of
ArtifactSubscription
objects
-
hasSubscriptions
boolean hasSubscriptions()
- Returns:
- true if this artifact has any subscriptions
-
-