diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-03-09 16:16:00 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-03-09 16:16:00 -0800 |
commit | 2a584c67a1663897d98e7c64fe161c88b30ef314 (patch) | |
tree | 008920bb182dc6ff622c88342b6fa9ca2a998335 /src/org/traccar/config | |
parent | addbd4b58d959a7996af7631dd3449ac779b027f (diff) | |
download | trackermap-server-2a584c67a1663897d98e7c64fe161c88b30ef314.tar.gz trackermap-server-2a584c67a1663897d98e7c64fe161c88b30ef314.tar.bz2 trackermap-server-2a584c67a1663897d98e7c64fe161c88b30ef314.zip |
Refactor alert event handler
Diffstat (limited to 'src/org/traccar/config')
-rw-r--r-- | src/org/traccar/config/Keys.java | 6 |
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( |