@Internal
public interface EnvironmentDependencyService
Triggerable
that are maintained as TriggerDefinition
Modifier and Type | Method and Description |
---|---|
void |
addDependencies(Triggerable dependent,
long triggerId,
Set<TriggerableInternalKey> triggeringPlans)
Adds dependencies from triggeringPlans to a
Triggerable |
Set<TriggerableInternalKey> |
getEnvironmentsToTrigger(TriggerableInternalKey planKey) |
void |
removeDependencies(Triggerable dependent,
long triggerId)
Remove all the dependencies related to
TriggerDefinition |
void |
replaceDependencies(Triggerable dependent,
long triggerId,
Set<TriggerableInternalKey> triggeringPlans)
Removes all existing dependencies and adds new.
|
void addDependencies(@NotNull Triggerable dependent, long triggerId, @NotNull Set<TriggerableInternalKey> triggeringPlans)
Triggerable
dependent
- Triggerable
to be triggeredtriggerId
- id of a TriggerDefinition
dependencies come fromtriggeringPlans
- plans which trigger dependent Triggerable
on successful completionvoid removeDependencies(@NotNull Triggerable dependent, long triggerId)
TriggerDefinition
dependent
- Triggerable
to be triggeredtriggerId
- id of a TriggerDefinition
dependencies come fromvoid replaceDependencies(@NotNull Triggerable dependent, long triggerId, @NotNull Set<TriggerableInternalKey> triggeringPlans)
@NotNull Set<TriggerableInternalKey> getEnvironmentsToTrigger(@NotNull TriggerableInternalKey planKey)
Triggerable
that should be started on successful completion of a PlanCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.