org.sonar.core.notification
Class DefaultNotificationManager

java.lang.Object
  extended by org.sonar.core.notification.DefaultNotificationManager
All Implemented Interfaces:
BatchComponent, NotificationManager, ServerComponent

public class DefaultNotificationManager
extends Object
implements NotificationManager

Since:
2.10

Constructor Summary
DefaultNotificationManager(DatabaseSessionFactory sessionFactory)
           
 
Method Summary
 NotificationQueueElement getFromQueue()
           
 boolean isEnabled(String username, String channelKey, String dispatcherKey)
           
 void scheduleForSending(Notification notification)
          Receives a notification and stores it so that it is processed by the notification service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultNotificationManager

public DefaultNotificationManager(DatabaseSessionFactory sessionFactory)
Method Detail

scheduleForSending

public void scheduleForSending(Notification notification)
Description copied from interface: NotificationManager
Receives a notification and stores it so that it is processed by the notification service.

Specified by:
scheduleForSending in interface NotificationManager
Parameters:
notification - the notification.

getFromQueue

public NotificationQueueElement getFromQueue()

isEnabled

public boolean isEnabled(String username,
                         String channelKey,
                         String dispatcherKey)


Copyright © 2009-2012 SonarSource. All Rights Reserved.