diff options
author | Anton Tananaev <atananaev@lyft.com> | 2020-12-28 11:06:25 -0800 |
---|---|---|
committer | Anton Tananaev <atananaev@lyft.com> | 2020-12-28 11:06:25 -0800 |
commit | f54ec00be2611c274e442cd6b2fd5ccdcf433ae5 (patch) | |
tree | 5387cd15a36187d6a739aae47ddd51e4721c8a2a /src/main/java/org/traccar/config/Keys.java | |
parent | 04cd9f4d14111b6d568a8ddd7e5501873276b339 (diff) | |
download | trackermap-server-f54ec00be2611c274e442cd6b2fd5ccdcf433ae5.tar.gz trackermap-server-f54ec00be2611c274e442cd6b2fd5ccdcf433ae5.tar.bz2 trackermap-server-f54ec00be2611c274e442cd6b2fd5ccdcf433ae5.zip |
Migrate more config keys
Diffstat (limited to 'src/main/java/org/traccar/config/Keys.java')
-rw-r--r-- | src/main/java/org/traccar/config/Keys.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java index 206295499..c8d3f4ccc 100644 --- a/src/main/java/org/traccar/config/Keys.java +++ b/src/main/java/org/traccar/config/Keys.java @@ -70,6 +70,25 @@ public final class Keys { "event.ignoreDuplicateAlerts", Boolean.class); /** + * If set to true, invalid positions will be considered for motion logic. + */ + public static final ConfigKey EVENT_MOTION_PROCESS_INVALID_POSITIONS = new ConfigKey( + "event.motion.processInvalidPositions", Boolean.class); + + /** + * If the speed is above specified value, the object is considered to be in motion. Default value is 0.01 knots. + */ + public static final ConfigKey EVENT_MOTION_SPEED_THRESHOLD = new ConfigKey( + "event.motion.speedThreshold", Double.class); + + /** + * Global polyline geofence distance. Within that distance from the polyline, point is considered within the + * geofence. Each individual geofence can also has 'polylineDistance' attribute which will take precedence. + */ + public static final ConfigKey GEOFENCE_POLYLINE_DISTANCE = new ConfigKey( + "geofence.polylineDistance", Double.class); + + /** * List of external handler classes to use in Netty pipeline. */ public static final ConfigKey EXTRA_HANDLERS = new ConfigKey( |