summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/manager/INotificationManager.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-06-05 10:23:58 -0400
committerJames Moger <james.moger@gitblit.com>2014-06-05 10:23:58 -0400
commit74221eb302e782ef23777d5c3f0a649ceb321c1e (patch)
tree2bd26e2e9ccb51a97fa9266c589e703df764994d /src/main/java/com/gitblit/manager/INotificationManager.java
parent6537deb8b76b7a4725c40a174a7c440385f88e51 (diff)
downloadgitblit-74221eb302e782ef23777d5c3f0a649ceb321c1e.tar.gz
gitblit-74221eb302e782ef23777d5c3f0a649ceb321c1e.zip
Add method to INotificationManager to return email service status
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