Package com.atlassian.bamboo.v2.trigger
Class DependencyChainListener
java.lang.Object
com.atlassian.bamboo.v2.trigger.DependencyChainListener
- All Implemented Interfaces:
BambooEventListener<ChainCompletedEvent>
,HibernateEventListener<ChainCompletedEvent>
public class DependencyChainListener
extends Object
implements HibernateEventListener<ChainCompletedEvent>
Listens in on the
ChainCompletedEvent
and fires off child builds-
Field Summary
-
Constructor Summary
ConstructorDescriptionDependencyChainListener
(BuildDetectionActionFactory buildDetectionActionFactory, DependencyBlockingManager dependencyBlockingManager, ImmutablePlanCacheService immutablePlanCacheService, PlanDependencyManager planDependencyManager, NonBlockingPlanExecutionService nonBlockingPlanExecutionService, BuildResultsSummaryManagerImpl resultsSummaryManager) -
Method Summary
Modifier and TypeMethodDescriptionSet<Class<? extends ChainCompletedEvent>>
List of specific event classes that this listener is interested in.void
handleEvent
(@NotNull ChainCompletedEvent event) Handle the event.
-
Field Details
-
DEPENDENCIES_DISABLED
- See Also:
-
-
Constructor Details
-
DependencyChainListener
public DependencyChainListener(BuildDetectionActionFactory buildDetectionActionFactory, DependencyBlockingManager dependencyBlockingManager, ImmutablePlanCacheService immutablePlanCacheService, PlanDependencyManager planDependencyManager, NonBlockingPlanExecutionService nonBlockingPlanExecutionService, BuildResultsSummaryManagerImpl resultsSummaryManager)
-
-
Method Details
-
getHandledEventClasses
Description copied from interface:BambooEventListener
List of specific event classes that this listener is interested in.- Specified by:
getHandledEventClasses
in interfaceBambooEventListener<ChainCompletedEvent>
- Returns:
- the specific event classes handled by this listener
-
handleEvent
Description copied from interface:BambooEventListener
Handle the event.- Specified by:
handleEvent
in interfaceBambooEventListener<ChainCompletedEvent>
- Parameters:
event
- theBambooEvent
to handle
-