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