James Moger
2014-11-04 4e84166db5c5538e3984d9d2d6bb1f9902e65ee0
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);