@Internal
public interface PlanParticleManager
| Modifier and Type | Method and Description |
|---|---|
void |
adjustPlanParticles(@NotNull PlanKey planKey,
@NotNull Collection<? extends PlanParticle> consumedParticles,
@NotNull Collection<? extends PlanParticle> producedParticles)
Adjust list of plan's consumed and produced particles.
|
@NotNull Set<PlanKey> |
getConsumersPlanKeys(Iterable<? extends PlanParticle> planParticles)
Return collection of Plan keys registered as planParticle consumers
|
@NotNull Set<PlanKey> |
getConsumersPlanKeys(@NotNull PlanKey planKey)
Return collection of Plan keys registered as consumers of particles produced by plan identified with planKey
|
@NotNull Set<PlanKey> |
getProducersPlanKeys(Iterable<? extends PlanParticle> planParticles)
Return collection of Plan keys registered as planParticle producers
|
@NotNull Set<PlanKey> |
getProducersPlanKeys(@NotNull PlanKey planKey)
Return collection of Plan keys registered as consumers of particles produced by plan identified with planKey
|
void |
removePlanParticles(@NotNull PlanKey planKey)
Removes all plan particles for a given plan.
|
@NotNull @NotNull Set<PlanKey> getConsumersPlanKeys(Iterable<? extends PlanParticle> planParticles)
planParticles - collection of PlanParticles@NotNull @NotNull Set<PlanKey> getConsumersPlanKeys(@NotNull @NotNull PlanKey planKey)
planKey - identifies producer of particles@NotNull @NotNull Set<PlanKey> getProducersPlanKeys(Iterable<? extends PlanParticle> planParticles)
planParticles - collection of PlanParticles@NotNull @NotNull Set<PlanKey> getProducersPlanKeys(@NotNull @NotNull PlanKey planKey)
planKey - identifies producer of particlesvoid adjustPlanParticles(@NotNull
@NotNull PlanKey planKey,
@NotNull
@NotNull Collection<? extends PlanParticle> consumedParticles,
@NotNull
@NotNull Collection<? extends PlanParticle> producedParticles)
throws ConfigurationException
planKey - Key of the plan to adjust.consumedParticles - Collection of plan's consumed particlesproducedParticles - Collection of plan's produced particlesConfigurationException - if it can not complete the adjusting of particles based on invalid data e.g cyclic dependenciesvoid removePlanParticles(@NotNull
@NotNull PlanKey planKey)
planKey - to delete the particles ofCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.