Package com.atlassian.bamboo.trigger
Class DetectChangesAfterBuildCompletedListener
java.lang.Object
com.atlassian.bamboo.trigger.DetectChangesAfterBuildCompletedListener
For applicable triggers only, this listener causes change detection after each plan execution completes
so that new changes occurring during change detection will immediately receive a new build. This mitigates
the situation where remote event triggers are lost because the plan's concurrency limit blocks them.
Most triggers, such as polling, will not use this mechanism, since their changes will be picked up on the next
poll. Triggers opt into this listener detectChangesOnCompletion="true"
in their triggerType declaration
such that TriggerModuleDescriptor.requiresChangeDetectionOnCompletion()
returns true.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setCachedPlanManager
(CachedPlanManager cachedPlanManager) void
setEventPublisher
(com.atlassian.event.api.EventPublisher eventPublisher) void
setTriggerTypeManager
(TriggerTypeManager triggerTypeManager)
-
Constructor Details
-
DetectChangesAfterBuildCompletedListener
public DetectChangesAfterBuildCompletedListener()
-
-
Method Details
-
onChainCompletedEvent
-
setCachedPlanManager
-
setEventPublisher
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher) -
setTriggerTypeManager
-