aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/config
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-03-09 16:16:00 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-03-09 16:16:00 -0800
commit2a584c67a1663897d98e7c64fe161c88b30ef314 (patch)
tree008920bb182dc6ff622c88342b6fa9ca2a998335 /src/org/traccar/config
parentaddbd4b58d959a7996af7631dd3449ac779b027f (diff)
downloadtraccar-server-2a584c67a1663897d98e7c64fe161c88b30ef314.tar.gz
traccar-server-2a584c67a1663897d98e7c64fe161c88b30ef314.tar.bz2
traccar-server-2a584c67a1663897d98e7c64fe161c88b30ef314.zip
Refactor alert event handler
Diffstat (limited to 'src/org/traccar/config')
-rw-r--r--src/org/traccar/config/Keys.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/org/traccar/config/Keys.java b/src/org/traccar/config/Keys.java
index c7c5d16c6..48cf3e558 100644
--- a/src/org/traccar/config/Keys.java
+++ b/src/org/traccar/config/Keys.java
@@ -64,6 +64,12 @@ public final class Keys {
"event.overspeed.preferLowest", Boolean.class);
/**
+ * Do not generate alert event if same alert was present in last known location.
+ */
+ public static final ConfigKey EVENT_IGNORE_DUPLICATE_ALERTS = new ConfigKey(
+ "event.ignoreDuplicateAlerts", Boolean.class);
+
+ /**
* List of external handler classes to use in Netty pipeline.
*/
public static final ConfigKey EXTRA_HANDLERS = new ConfigKey(