aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/notification
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-07-12 09:45:09 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-07-12 09:45:09 -0700
commit4f6e68ad5a14b128258e68fd819406dbea585d7f (patch)
tree7bed07184154f7f637576b3cd617a2edc568e817 /src/main/java/org/traccar/notification
parentde45d40884d58e4d0e2b2a65b8827bb35634894e (diff)
downloadtraccar-server-4f6e68ad5a14b128258e68fd819406dbea585d7f.tar.gz
traccar-server-4f6e68ad5a14b128258e68fd819406dbea585d7f.tar.bz2
traccar-server-4f6e68ad5a14b128258e68fd819406dbea585d7f.zip
Add Traccar push notificator
Diffstat (limited to 'src/main/java/org/traccar/notification')
-rw-r--r--src/main/java/org/traccar/notification/NotificatorManager.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/notification/NotificatorManager.java b/src/main/java/org/traccar/notification/NotificatorManager.java
index c5f1ad8a0..dfd8cd3d6 100644
--- a/src/main/java/org/traccar/notification/NotificatorManager.java
+++ b/src/main/java/org/traccar/notification/NotificatorManager.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2018 Anton Tananaev (anton@traccar.org)
+ * Copyright 2018 - 2020 Anton Tananaev (anton@traccar.org)
* Copyright 2018 Andrey Kunitsyn (andrey@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -30,6 +30,7 @@ import org.traccar.notificators.NotificatorMail;
import org.traccar.notificators.NotificatorNull;
import org.traccar.notificators.Notificator;
import org.traccar.notificators.NotificatorSms;
+import org.traccar.notificators.NotificatorTraccar;
import org.traccar.notificators.NotificatorWeb;
import org.traccar.notificators.NotificatorTelegram;
import org.traccar.notificators.NotificatorPushover;
@@ -59,6 +60,9 @@ public final class NotificatorManager {
case "firebase":
defaultNotificator = NotificatorFirebase.class.getCanonicalName();
break;
+ case "traccar":
+ defaultNotificator = NotificatorTraccar.class.getCanonicalName();
+ break;
case "telegram":
defaultNotificator = NotificatorTelegram.class.getCanonicalName();
break;