org.sonar.plugins.emailnotifications
Class EmailNotificationChannel
java.lang.Object
org.sonar.api.notifications.NotificationChannel
org.sonar.plugins.emailnotifications.EmailNotificationChannel
- All Implemented Interfaces:
- Extension, ServerComponent, ServerExtension
public class EmailNotificationChannel
- extends NotificationChannel
References:
- Since:
- 2.10
EmailNotificationChannel
public EmailNotificationChannel(EmailConfiguration configuration,
EmailTemplate[] templates,
UserFinder userFinder)
deliver
public void deliver(Notification notification,
String username)
- Specified by:
deliver
in class NotificationChannel
sendTestEmail
public void sendTestEmail(String toAddress,
String subject,
String message)
throws org.apache.commons.mail.EmailException
- Send test email. This method called from Ruby.
- Throws:
org.apache.commons.mail.EmailException
- when unable to send
Copyright © 2009-2011 SonarSource. All Rights Reserved.