|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.plan.PlanParticleManagerImpl
public class PlanParticleManagerImpl
Constructor Summary | |
---|---|
PlanParticleManagerImpl(PlanManager planManager,
PlanDependencyManager planDependencyManager)
|
Method Summary | |
---|---|
void |
adjustPlanParticles(PlanKey planKey,
java.util.Collection<? extends PlanParticle> consumedParticles,
java.util.Collection<? extends PlanParticle> producedParticles)
Adjust list of plan's consumed and produced particles. |
java.util.Set<PlanKey> |
getConsumersPlanKeys(java.lang.Iterable<? extends PlanParticle> planParticles)
Return collection of Plan keys registered as planParticle consumers |
java.util.Set<PlanKey> |
getConsumersPlanKeys(PlanKey planKey)
Return collection of Plan keys registered as consumers of particles produced by plan identified with planKey |
java.util.Set<PlanKey> |
getProducersPlanKeys(java.lang.Iterable<? extends PlanParticle> planParticles)
Return collection of Plan keys registered as planParticle producers |
java.util.Set<PlanKey> |
getProducersPlanKeys(PlanKey planKey)
Return collection of Plan keys registered as consumers of particles produced by plan identified with planKey |
void |
removePlanParticles(PlanKey planKey)
Removes all plan particles for a given plan. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlanParticleManagerImpl(PlanManager planManager, PlanDependencyManager planDependencyManager)
Method Detail |
---|
@NotNull public java.util.Set<PlanKey> getConsumersPlanKeys(java.lang.Iterable<? extends PlanParticle> planParticles)
PlanParticleManager
getConsumersPlanKeys
in interface PlanParticleManager
planParticles
- collection of PlanParticles
@NotNull public java.util.Set<PlanKey> getConsumersPlanKeys(@NotNull PlanKey planKey)
PlanParticleManager
getConsumersPlanKeys
in interface PlanParticleManager
planKey
- identifies producer of particles
@NotNull public java.util.Set<PlanKey> getProducersPlanKeys(java.lang.Iterable<? extends PlanParticle> planParticles)
PlanParticleManager
getProducersPlanKeys
in interface PlanParticleManager
planParticles
- collection of PlanParticles
@NotNull public java.util.Set<PlanKey> getProducersPlanKeys(@NotNull PlanKey planKey)
PlanParticleManager
getProducersPlanKeys
in interface PlanParticleManager
planKey
- identifies producer of particles
public void adjustPlanParticles(@NotNull PlanKey planKey, @NotNull java.util.Collection<? extends PlanParticle> consumedParticles, @NotNull java.util.Collection<? extends PlanParticle> producedParticles) throws ConfigurationException
PlanParticleManager
adjustPlanParticles
in interface PlanParticleManager
planKey
- Key of the plan to adjust.consumedParticles
- Collection of plan's consumed particlesproducedParticles
- Collection of plan's produced particles
ConfigurationException
- if it can not complete the adjusting of particles based on invalid data e.g cyclic dependenciespublic void removePlanParticles(@NotNull PlanKey planKey)
PlanParticleManager
removePlanParticles
in interface PlanParticleManager
planKey
- to delete the particles of
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |