com.atlassian.bamboo.plugins.maven2.events
Class RestoreMaven2ParticlesOnServerStartupEventListener
java.lang.Object
com.atlassian.bamboo.plugins.maven2.events.RestoreMaven2ParticlesOnServerStartupEventListener
- All Implemented Interfaces:
- HibernateEventListener, com.atlassian.event.EventListener
public class RestoreMaven2ParticlesOnServerStartupEventListener
- extends java.lang.Object
- implements HibernateEventListener
Read Plan Particles information from Bandana on server startup.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestoreMaven2ParticlesOnServerStartupEventListener
public RestoreMaven2ParticlesOnServerStartupEventListener()
getHandledEventClasses
public java.lang.Class<? extends com.atlassian.event.Event>[] getHandledEventClasses()
- Specified by:
getHandledEventClasses
in interface HibernateEventListener
- Specified by:
getHandledEventClasses
in interface com.atlassian.event.EventListener
- Returns:
- Array of Class objects this listener handles
handleEvent
public void handleEvent(com.atlassian.event.Event event)
- On server start feed PlanParticleManager with the list of particles from Maven2 dependency provider Jobs, selected in TopLevelPlans.
- Specified by:
handleEvent
in interface HibernateEventListener
- Specified by:
handleEvent
in interface com.atlassian.event.EventListener
- Parameters:
event
- ServerStartedEvent
setBandanaManager
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
setPlanManager
public void setPlanManager(PlanManager planManager)
setPlanParticleManager
public void setPlanParticleManager(PlanParticleManager planParticleManager)
setErrorHandler
public void setErrorHandler(ErrorHandler errorHandler)
Copyright © 2011 Atlassian. All Rights Reserved.