public class ImmutableArtifactManagerImpl extends Object implements ImmutableArtifactManager
Constructor and Description |
---|
ImmutableArtifactManagerImpl(ArtifactDefinitionManager artifactDefinitionManager,
ArtifactSubscriptionManager artifactSubscriptionManager) |
Modifier and Type | Method and Description |
---|---|
long |
countSubscriptionsOfArtifact(@NotNull long artifactDefinitionId) |
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 |
public ImmutableArtifactManagerImpl(ArtifactDefinitionManager artifactDefinitionManager, ArtifactSubscriptionManager artifactSubscriptionManager)
@NotNull public @NotNull com.google.common.collect.ImmutableList<ImmutableArtifactDefinition> findImmutableArtifactDefinitionsByProducer(@NotNull @NotNull ImmutablePlan plan)
ImmutableArtifactManager
ImmutableArtifactDefinition
s produced by plan
findImmutableArtifactDefinitionsByProducer
in interface ImmutableArtifactManager
plan
- producer of artifact definitionsImmutableArtifactDefinition
public ImmutableArtifactDefinition createImmutableArtifactDefinition(@NotNull @NotNull ImmutableArtifactSubscription artifactSubscription)
ImmutableArtifactManager
ImmutableArtifactDefinition
representing artifact that artifactSubscription
points tocreateImmutableArtifactDefinition
in interface ImmutableArtifactManager
artifactSubscription
- ArtifactSubscription
that defines artifact definitionImmutableArtifactDefinition
@NotNull public @NotNull com.google.common.collect.ImmutableList<ImmutableArtifactSubscription> findImmutableArtifactSubscriptionsByDefinition(@NotNull @NotNull ImmutableArtifactDefinition artifactDefinition)
ImmutableArtifactManager
ImmutableArtifactSubscription
s which refer artifactDefinition
findImmutableArtifactSubscriptionsByDefinition
in interface ImmutableArtifactManager
artifactDefinition
- ArtifactDefinition
that defines list of artifact subscriptionsImmutableArtifactSubscription
@NotNull public @NotNull com.google.common.collect.ImmutableList<ImmutableArtifactSubscription> findImmutableArtifactSubscriptionsByPlan(@NotNull @NotNull ImmutablePlan plan)
ImmutableArtifactManager
ImmutableArtifactSubscription
s defined in plan
findImmutableArtifactSubscriptionsByPlan
in interface ImmutableArtifactManager
plan
- Plan
that defines list of artifact subscriptionsImmutableArtifactSubscription
public long countSubscriptionsOfArtifact(@NotNull @NotNull long artifactDefinitionId)
countSubscriptionsOfArtifact
in interface ImmutableArtifactManager
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.