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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDependencyChainListener(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.voidhandleEvent(@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:BambooEventListenerList of specific event classes that this listener is interested in.- Specified by:
getHandledEventClassesin interfaceBambooEventListener<ChainCompletedEvent>- Returns:
- the specific event classes handled by this listener
-
handleEvent
Description copied from interface:BambooEventListenerHandle the event.- Specified by:
handleEventin interfaceBambooEventListener<ChainCompletedEvent>- Parameters:
event- theBambooEventto handle
-