aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config/Keys.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-09 17:56:37 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-09 17:56:37 -0700
commitadafc5f6130854dd88c191dd04489073419ee41d (patch)
treee101d03069894f9a2fbfd388d9b3f93424cbe4d0 /src/main/java/org/traccar/config/Keys.java
parent29b5d05cfd66a9f51b7ce272c1fb07077bc715b2 (diff)
downloadtrackermap-server-adafc5f6130854dd88c191dd04489073419ee41d.tar.gz
trackermap-server-adafc5f6130854dd88c191dd04489073419ee41d.tar.bz2
trackermap-server-adafc5f6130854dd88c191dd04489073419ee41d.zip
Remove SMS from context
Diffstat (limited to 'src/main/java/org/traccar/config/Keys.java')
-rw-r--r--src/main/java/org/traccar/config/Keys.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index ba576397b..d53245c65 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -754,6 +754,14 @@ public final class Keys {
Collections.singletonList(KeyType.GLOBAL));
/**
+ * Enabled notification options. Comma-separated string is expected.
+ * Example: web,mail,sms
+ */
+ public static final ConfigKey<String> NOTIFICATOR_TYPES = new ConfigKey<>(
+ "notificator.types",
+ Collections.singletonList(KeyType.GLOBAL));
+
+ /**
* Traccar notification API key.
*/
public static final ConfigKey<String> NOTIFICATOR_TRACCAR_KEY = new ConfigKey<>(