public interface ImmutableArtifactManager
Modifier and Type | Method and Description |
---|---|
long |
countSubscriptionsOfArtifact(long artifactDefinitionId) |
ImmutableArtifactDefinition |
createImmutableArtifactDefinition(ImmutableArtifactSubscription artifactSubscription)
Create
ImmutableArtifactDefinition representing artifact that artifactSubscription points to |
com.google.common.collect.ImmutableList<ImmutableArtifactDefinition> |
findImmutableArtifactDefinitionsByProducer(ImmutablePlan plan)
Create list of
ImmutableArtifactDefinition s produced by plan |
com.google.common.collect.ImmutableList<ImmutableArtifactSubscription> |
findImmutableArtifactSubscriptionsByDefinition(ImmutableArtifactDefinition artifactDefinition)
Create list of
ImmutableArtifactSubscription s which refer artifactDefinition |
com.google.common.collect.ImmutableList<ImmutableArtifactSubscription> |
findImmutableArtifactSubscriptionsByPlan(ImmutablePlan plan)
Create list of
ImmutableArtifactSubscription s defined in plan |
@Nullable ImmutableArtifactDefinition createImmutableArtifactDefinition(@NotNull ImmutableArtifactSubscription artifactSubscription)
ImmutableArtifactDefinition
representing artifact that artifactSubscription
points toartifactSubscription
- ArtifactSubscription
that defines artifact definitionImmutableArtifactDefinition
@NotNull com.google.common.collect.ImmutableList<ImmutableArtifactDefinition> findImmutableArtifactDefinitionsByProducer(@NotNull ImmutablePlan plan)
ImmutableArtifactDefinition
s produced by plan
plan
- producer of artifact definitionsImmutableArtifactDefinition
@NotNull com.google.common.collect.ImmutableList<ImmutableArtifactSubscription> findImmutableArtifactSubscriptionsByDefinition(@NotNull ImmutableArtifactDefinition artifactDefinition)
ImmutableArtifactSubscription
s which refer artifactDefinition
artifactDefinition
- ArtifactDefinition
that defines list of artifact subscriptionsImmutableArtifactSubscription
@NotNull com.google.common.collect.ImmutableList<ImmutableArtifactSubscription> findImmutableArtifactSubscriptionsByPlan(@NotNull ImmutablePlan plan)
ImmutableArtifactSubscription
s defined in plan
plan
- Plan
that defines list of artifact subscriptionsImmutableArtifactSubscription
long countSubscriptionsOfArtifact(@NotNull long artifactDefinitionId)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.