summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/manager/INotificationManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/gitblit/manager/INotificationManager.java')
-rw-r--r--src/main/java/com/gitblit/manager/INotificationManager.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/manager/INotificationManager.java b/src/main/java/com/gitblit/manager/INotificationManager.java
index 231cf43a..64fc01e8 100644
--- a/src/main/java/com/gitblit/manager/INotificationManager.java
+++ b/src/main/java/com/gitblit/manager/INotificationManager.java
@@ -22,6 +22,14 @@ import com.gitblit.models.Mailing;
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