diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2017-09-03 21:44:16 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2017-09-03 21:48:53 -0700 |
commit | 72ee0f10ddca0d880e50d13446f9ac0269e542eb (patch) | |
tree | 9dc1bfe0e4300ab05fb3ac1cd44dac6c44b71c18 /src/main/java/com/p4square/grow/backend/NotificationService.java | |
parent | fa7d0ec7d486dccb55c50ba635a638a855a513c1 (diff) |
Adding notification emails when questions and answers are posted to the feed.20170903
Diffstat (limited to 'src/main/java/com/p4square/grow/backend/NotificationService.java')
-rw-r--r-- | src/main/java/com/p4square/grow/backend/NotificationService.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/java/com/p4square/grow/backend/NotificationService.java b/src/main/java/com/p4square/grow/backend/NotificationService.java new file mode 100644 index 0000000..1d87a70 --- /dev/null +++ b/src/main/java/com/p4square/grow/backend/NotificationService.java @@ -0,0 +1,15 @@ +package com.p4square.grow.backend; + +/** + * An implementation of NotificationService sends notifications. + */ +public interface NotificationService { + + /** + * Send a notification from the GROW website to the notification address. + * + * @param message The notification to deliever. + */ + void sendNotification(final String message); + +} |