Class ArtifactSubscriptionsFunctions
- java.lang.Object
-
- com.atlassian.bamboo.plan.artifact.ArtifactSubscriptionsFunctions
-
public class ArtifactSubscriptionsFunctions extends Object
A bag for ArtifactSubscription functions.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ImmutableArtifactSubscription
createImmutableArtifactSubscription(ImmutableArtifactSubscription artifactSubscription)
static Function<ArtifactSubscription,ImmutableArtifactSubscription>
createImmutableArtifactSubscriptionFunctionForDefinition(@NotNull ImmutableArtifactDefinition immutableArtifactDefinition)
static Function<ImmutableArtifactSubscription,ArtifactSubscriptionContext>
createSubscriptionContextFromArtifactSubscription(@NotNull 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.
-
-
-
Method Detail
-
getProducerJob
public static Job getProducerJob(ArtifactSubscription artifactSubscription)
Get producer job from artifact subscription object.
-
getConsumerJob
public static Job getConsumerJob(ArtifactSubscription artifactSubscription)
Get consumer job from artifact subscription object.
-
createSubscriptionContextFromArtifactSubscription
public static Function<ImmutableArtifactSubscription,ArtifactSubscriptionContext> createSubscriptionContextFromArtifactSubscription(@NotNull @NotNull SecureToken secureToken)
-
createSubscriptionSubstitutionAware
public static com.google.common.base.Function<ArtifactSubscription,ArtifactSubscriptionSubstitutionAware> createSubscriptionSubstitutionAware()
-
createImmutableArtifactSubscriptionFunctionForDefinition
public static Function<ArtifactSubscription,ImmutableArtifactSubscription> createImmutableArtifactSubscriptionFunctionForDefinition(@NotNull @NotNull ImmutableArtifactDefinition immutableArtifactDefinition)
-
createImmutableArtifactSubscription
public static ImmutableArtifactSubscription createImmutableArtifactSubscription(ImmutableArtifactSubscription artifactSubscription)
-
-