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