Interface BambooEventListener<T extends BambooEvent>

All Known Subinterfaces:
HibernateEventListener<T>, InlineEventListener<T>
All Known Implementing Classes:
AbstractNotificationEventListener, AfterXFailedNotificationListener, BuildCompletedNotificationListener, BuildErrorNotificationListener, BuildHungNotificationListener, BuildMissingCapableAgentNotificationListener, BuildQueueTimeoutNotificationListener, ChainCompletedNotificationListener, CommentNotificationListener, DependencyChainListener, RestoreMaven2ParticlesOnServerStartupEventListener, StageCompletedNotificationListener

public interface BambooEventListener<T extends BambooEvent>
A replacement for removed EventListener interface to handle legacy event listener plugin point. As of Bamboo 10.0, event listeners should be simply created as components and use EventListener annotation.
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<Class<? extends T>>
    List of specific event classes that this listener is interested in.
    void
    handleEvent(T event)
    Handle the event.
  • Method Details

    • handleEvent

      void handleEvent(T event)
      Handle the event.
      Parameters:
      event - the BambooEvent to handle
    • getHandledEventClasses

      Set<Class<? extends T>> getHandledEventClasses()
      List of specific event classes that this listener is interested in.
      Returns:
      the specific event classes handled by this listener