aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/notification
diff options
context:
space:
mode:
authorAndreas <andreas-huth@freenet.de>2020-03-01 23:18:44 +0100
committerAndreas <andreas-huth@freenet.de>2020-03-01 23:18:44 +0100
commit1ab53d1f4911e349370542b23a5fa3fe69be7dcc (patch)
tree707235632f38b52019e2476e48238acad4a9436a /src/main/java/org/traccar/notification
parenta48c68d4b5fb522081c9182713a4088a66317964 (diff)
downloadtraccar-server-1ab53d1f4911e349370542b23a5fa3fe69be7dcc.tar.gz
traccar-server-1ab53d1f4911e349370542b23a5fa3fe69be7dcc.tar.bz2
traccar-server-1ab53d1f4911e349370542b23a5fa3fe69be7dcc.zip
add support for pushover.net
Diffstat (limited to 'src/main/java/org/traccar/notification')
-rw-r--r--src/main/java/org/traccar/notification/NotificatorManager.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/notification/NotificatorManager.java b/src/main/java/org/traccar/notification/NotificatorManager.java
index 191748379..c5f1ad8a0 100644
--- a/src/main/java/org/traccar/notification/NotificatorManager.java
+++ b/src/main/java/org/traccar/notification/NotificatorManager.java
@@ -32,6 +32,7 @@ import org.traccar.notificators.Notificator;
import org.traccar.notificators.NotificatorSms;
import org.traccar.notificators.NotificatorWeb;
import org.traccar.notificators.NotificatorTelegram;
+import org.traccar.notificators.NotificatorPushover;
public final class NotificatorManager {
@@ -61,6 +62,9 @@ public final class NotificatorManager {
case "telegram":
defaultNotificator = NotificatorTelegram.class.getCanonicalName();
break;
+ case "pushover":
+ defaultNotificator = NotificatorPushover.class.getCanonicalName();
+ break;
default:
break;
}