From 72ee0f10ddca0d880e50d13446f9ac0269e542eb Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Sun, 3 Sep 2017 21:44:16 -0700 Subject: Adding notification emails when questions and answers are posted to the feed. --- .../com/p4square/grow/backend/NotificationService.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/main/java/com/p4square/grow/backend/NotificationService.java (limited to 'src/main/java/com/p4square/grow/backend/NotificationService.java') 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); + +} -- cgit v1.2.3