Event Listener Module Type
An event listener plugin module is an object which is notified when certain internal Crucible or FishEye events occur.
To include an event listener module add a
listener element to your
and create a class which implements
com.atlassian.event.EventListener. See the FishEye event and Crucible event javadoc for specific event types. See the javadoc for EventListener to understand the general details regarding events.
For example, if we want to listen for all events, and print a message to standard output we would write:
Event listeners may implement
StateAware if they need to be notified when the module is enabled or disabled.