James Moger
2014-06-11 ebed4a60d95c40b91f8ca1b99d6ea3a0a7c9114c
src/main/java/com/gitblit/manager/INotificationManager.java
@@ -22,10 +22,19 @@
public interface INotificationManager extends IManager {
   /**
    * Returns true if the email service is configured and ready to send notifications.
    *
    * @return true if the email service is operational
    * @since 1.6.0
    */
   boolean isSendingMail();
   /**
    * Notify the administrators by email.
    *
    * @param subject
    * @param message
     * @since 1.4.0
    */
   void sendMailToAdministrators(String subject, String message);
@@ -35,6 +44,7 @@
    * @param subject
    * @param message
    * @param toAddresses
     * @since 1.4.0
    */
   void sendMail(String subject, String message, Collection<String> toAddresses);
@@ -44,6 +54,7 @@
    * @param subject
    * @param message
    * @param toAddresses
     * @since 1.4.0
    */
   void sendHtmlMail(String subject, String message, Collection<String> toAddresses);
@@ -52,6 +63,7 @@
    *
    * @param mailing
    * @return the mail message object
     * @since 1.4.0
    */
   void send(Mailing mailing);