aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/notification/NotificatorManager.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2018-07-27 09:18:50 +0500
committerAbyss777 <abyss@fox5.ru>2018-07-27 09:18:50 +0500
commit47a5fc014282314ef8c2b719a961c01c6cd2b822 (patch)
treef099eff33a6bcd3917add19fec9fce7e849e819f /src/org/traccar/notification/NotificatorManager.java
parente4ec06498f63ca31d8fd7332523bd997f3fe44a0 (diff)
downloadtrackermap-server-47a5fc014282314ef8c2b719a961c01c6cd2b822.tar.gz
trackermap-server-47a5fc014282314ef8c2b719a961c01c6cd2b822.tar.bz2
trackermap-server-47a5fc014282314ef8c2b719a961c01c6cd2b822.zip
Move notificators to appropriate package and rename.
Diffstat (limited to 'src/org/traccar/notification/NotificatorManager.java')
-rw-r--r--src/org/traccar/notification/NotificatorManager.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/org/traccar/notification/NotificatorManager.java b/src/org/traccar/notification/NotificatorManager.java
index 147de47d3..a3b13ef25 100644
--- a/src/org/traccar/notification/NotificatorManager.java
+++ b/src/org/traccar/notification/NotificatorManager.java
@@ -24,15 +24,17 @@ import java.util.Set;
import org.traccar.Context;
import org.traccar.helper.Log;
import org.traccar.model.Typed;
+import org.traccar.notificators.NotificatorNull;
+import org.traccar.notificators.Notificator;
public final class NotificatorManager {
- private static final String DEFAULT_WEB_NOTIFICATOR = "org.traccar.notification.NotificationWeb";
- private static final String DEFAULT_MAIL_NOTIFICATOR = "org.traccar.notification.NotificationMail";
- private static final String DEFAULT_SMS_NOTIFICATOR = "org.traccar.notification.NotificationSms";
+ private static final String DEFAULT_WEB_NOTIFICATOR = "org.traccar.notificators.NotificatorWeb";
+ private static final String DEFAULT_MAIL_NOTIFICATOR = "org.traccar.notificators.NotificatorMail";
+ private static final String DEFAULT_SMS_NOTIFICATOR = "org.traccar.notificators.NotificatorSms";
private final Map<String, Notificator> notificators = new HashMap<>();
- private static final Notificator NULL_NOTIFICATOR = new NotificationNull();
+ private static final Notificator NULL_NOTIFICATOR = new NotificatorNull();
public NotificatorManager() {
final String[] types = Context.getConfig().getString("notificator.types", "").split(",");