com.atlassian.bamboo.v2.trigger
Class DependencyChainListener

java.lang.Object
  extended by com.atlassian.bamboo.v2.trigger.DependencyChainListener
All Implemented Interfaces:
HibernateEventListener, com.atlassian.event.EventListener

public class DependencyChainListener
extends java.lang.Object
implements HibernateEventListener

Listens in on the ChainCompletedEvent and fires off child builds


Field Summary
static java.lang.String DEPENDENCIES_DISABLED
           
 
Constructor Summary
DependencyChainListener(BuildDetectionActionFactory buildDetectionActionFactory, DependencyBlockingManager dependencyBlockingManager, ImmutablePlanCacheService immutablePlanCacheService, PlanDependencyManager planDependencyManager, NonBlockingPlanExecutionService nonBlockingPlanExecutionService)
           
 
Method Summary
 java.lang.Class[] getHandledEventClasses()
           
 void handleEvent(com.atlassian.event.Event genericEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEPENDENCIES_DISABLED

public static final java.lang.String DEPENDENCIES_DISABLED
See Also:
Constant Field Values
Constructor Detail

DependencyChainListener

public DependencyChainListener(BuildDetectionActionFactory buildDetectionActionFactory,
                               DependencyBlockingManager dependencyBlockingManager,
                               ImmutablePlanCacheService immutablePlanCacheService,
                               PlanDependencyManager planDependencyManager,
                               NonBlockingPlanExecutionService nonBlockingPlanExecutionService)
Method Detail

handleEvent

public void handleEvent(com.atlassian.event.Event genericEvent)
Specified by:
handleEvent in interface HibernateEventListener
Specified by:
handleEvent in interface com.atlassian.event.EventListener

getHandledEventClasses

public java.lang.Class[] getHandledEventClasses()
Specified by:
getHandledEventClasses in interface HibernateEventListener
Specified by:
getHandledEventClasses in interface com.atlassian.event.EventListener
Returns:
Array of Class objects this listener handles


Copyright © 2012 Atlassian. All Rights Reserved.