org.sonar.api.notifications
Interface NotificationManager

All Superinterfaces:
BatchComponent, ServerComponent
All Known Implementing Classes:
DefaultNotificationManager

public interface NotificationManager
extends ServerComponent, BatchComponent

The notification manager receives notifications and is in charge of storing them so that they are processed by the notification service.

Pico provides an instance of this class, and plugins just need to create notifications and pass them to this manager with the scheduleForSending(Notification) method.

Since:
2.10

Method Summary
 void scheduleForSending(Notification notification)
          Receives a notification and stores it so that it is processed by the notification service.
 

Method Detail

scheduleForSending

void scheduleForSending(Notification notification)
Receives a notification and stores it so that it is processed by the notification service.

Parameters:
notification - the notification.


Copyright © 2009-2012 SonarSource. All Rights Reserved.