public class ArtifactSubscriptionsFunctions extends Object
Modifier and Type | Method and Description |
---|---|
static ImmutableArtifactSubscription |
createImmutableArtifactSubscription(ImmutableArtifactSubscription artifactSubscription) |
static Function<ImmutableArtifactSubscription,ArtifactSubscriptionContext> |
createSubscriptionContextFromArtifactSubscription(SecureToken secureToken) |
static com.google.common.base.Function<ArtifactSubscription,ArtifactSubscriptionSubstitutionAware> |
createSubscriptionSubstitutionAware() |
static Job |
getConsumerJob(ArtifactSubscription artifactSubscription)
Get consumer job from artifact subscription object.
|
static Job |
getProducerJob(ArtifactSubscription artifactSubscription)
Get producer job from artifact subscription object.
|
public static Job getProducerJob(ArtifactSubscription artifactSubscription)
public static Job getConsumerJob(ArtifactSubscription artifactSubscription)
public static Function<ImmutableArtifactSubscription,ArtifactSubscriptionContext> createSubscriptionContextFromArtifactSubscription(@NotNull SecureToken secureToken)
public static com.google.common.base.Function<ArtifactSubscription,ArtifactSubscriptionSubstitutionAware> createSubscriptionSubstitutionAware()
public static ImmutableArtifactSubscription createImmutableArtifactSubscription(ImmutableArtifactSubscription artifactSubscription)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.