Class ArtifactSubscriptionsFunctions
java.lang.Object
com.atlassian.bamboo.plan.artifact.ArtifactSubscriptionsFunctions
A bag for ArtifactSubscription functions.
-
Method Summary
Modifier and TypeMethodDescriptioncreateImmutableArtifactSubscription
(ImmutableArtifactSubscription artifactSubscription) createImmutableArtifactSubscriptionFunctionForDefinition
(@NotNull ImmutableArtifactDefinition immutableArtifactDefinition) createSubscriptionContextFromArtifactSubscription
(@NotNull SecureToken secureToken) static Job
getConsumerJob
(ArtifactSubscription artifactSubscription) Get consumer job from artifact subscription object.static Job
getProducerJob
(ArtifactSubscription artifactSubscription) Get producer job from artifact subscription object.
-
Method Details
-
getProducerJob
Get producer job from artifact subscription object. -
getConsumerJob
Get consumer job from artifact subscription object. -
createSubscriptionContextFromArtifactSubscription
public static Function<ImmutableArtifactSubscription,ArtifactSubscriptionContext> createSubscriptionContextFromArtifactSubscription(@NotNull @NotNull SecureToken secureToken) -
createSubscriptionSubstitutionAware
public static Function<ArtifactSubscription,ArtifactSubscriptionSubstitutionAware> createSubscriptionSubstitutionAware() -
createImmutableArtifactSubscriptionFunctionForDefinition
public static Function<ArtifactSubscription,ImmutableArtifactSubscription> createImmutableArtifactSubscriptionFunctionForDefinition(@NotNull @NotNull ImmutableArtifactDefinition immutableArtifactDefinition) -
createImmutableArtifactSubscription
public static ImmutableArtifactSubscription createImmutableArtifactSubscription(ImmutableArtifactSubscription artifactSubscription)
-