aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/notification
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/notification')
-rw-r--r--src/org/traccar/notification/NotificatorManager.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/org/traccar/notification/NotificatorManager.java b/src/org/traccar/notification/NotificatorManager.java
index c58149847..20c7749d2 100644
--- a/src/org/traccar/notification/NotificatorManager.java
+++ b/src/org/traccar/notification/NotificatorManager.java
@@ -20,6 +20,7 @@ import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.HashMap;
import java.util.Map;
+import java.util.Set;
import org.traccar.Context;
import org.traccar.helper.Log;
@@ -60,12 +61,9 @@ public final class NotificatorManager {
return n;
}
- public Notificator getSms() {
- return getNotificator("sms");
- }
- public Notificator getMail() {
- return getNotificator("mail");
+ public Set<String> getNotificatorTypes() {
+ return notificators.keySet();
}