public class DetectChangesAfterBuildCompletedListener extends Object
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 and Description |
---|
DetectChangesAfterBuildCompletedListener() |
Modifier and Type | Method and Description |
---|---|
void |
onChainCompletedEvent(ChainCompletedEvent event) |
void |
setCachedPlanManager(CachedPlanManager cachedPlanManager) |
void |
setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher) |
void |
setTriggerTypeManager(TriggerTypeManager triggerTypeManager) |
public DetectChangesAfterBuildCompletedListener()
@EventListener public void onChainCompletedEvent(ChainCompletedEvent event)
public void setCachedPlanManager(CachedPlanManager cachedPlanManager)
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
public void setTriggerTypeManager(TriggerTypeManager triggerTypeManager)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.