|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Internal public interface EnvironmentDependencyService
Keeps track of dependencies between Triggerable
that are maintained as BuildStrategy
Method Summary | |
---|---|
void |
addDependencies(Triggerable dependent,
long triggerId,
java.util.Set<PlanKey> triggeringPlans)
Adds dependencies from triggeringPlans to a Triggerable |
java.util.Set<TriggerableInternalKey> |
getEnvironmentsToTrigger(PlanKey planKey)
|
void |
removeDependencies(Triggerable dependent,
long triggerId)
Remove all the dependencies related to BuildStrategy |
void |
replaceDependencies(Triggerable dependent,
long triggerId,
java.util.Set<PlanKey> triggeringPlans)
Removes all existing dependencies and adds new. |
Method Detail |
---|
void addDependencies(@NotNull Triggerable dependent, long triggerId, @NotNull java.util.Set<PlanKey> triggeringPlans)
Triggerable
dependent
- Triggerable
to be triggeredtriggerId
- id of a BuildStrategy
dependencies come fromtriggeringPlans
- plans which trigger dependent Triggerable
on successful completionvoid removeDependencies(@NotNull Triggerable dependent, long triggerId)
BuildStrategy
dependent
- Triggerable
to be triggeredtriggerId
- id of a BuildStrategy
dependencies come fromvoid replaceDependencies(@NotNull Triggerable dependent, long triggerId, @NotNull java.util.Set<PlanKey> triggeringPlans)
@NotNull java.util.Set<TriggerableInternalKey> getEnvironmentsToTrigger(@NotNull PlanKey planKey)
Triggerable
that should be started on successful completion of a Plan
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |