org.sonar.batch.events
Class EventBus
java.lang.Object
org.sonar.batch.events.EventBus
public class EventBus
- extends Object
Dispatches BatchEvent
s. Eases decoupling by allowing objects to interact without having direct dependencies upon one another, and
without requiring event sources to deal with maintaining handler lists.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventBus
public EventBus(EventHandler[] handlers)
fireEvent
public void fireEvent(BatchEvent event)
- Fires the given event.
Copyright © 2009-2011 SonarSource. All Rights Reserved.