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