aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/notification/NotificatorManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-07-27 18:29:03 +1200
committerGitHub <noreply@github.com>2018-07-27 18:29:03 +1200
commitda0e33ee765053e14b7172bae0f3acd74c2e26eb (patch)
treef099eff33a6bcd3917add19fec9fce7e849e819f /src/org/traccar/notification/NotificatorManager.java
parente4ec06498f63ca31d8fd7332523bd997f3fe44a0 (diff)
parent47a5fc014282314ef8c2b719a961c01c6cd2b822 (diff)
downloadtrackermap-server-da0e33ee765053e14b7172bae0f3acd74c2e26eb.tar.gz
trackermap-server-da0e33ee765053e14b7172bae0f3acd74c2e26eb.tar.bz2
trackermap-server-da0e33ee765053e14b7172bae0f3acd74c2e26eb.zip
Merge pull request #3984 from Abyss777/organize_notificators
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(",");