aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config/Keys.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/config/Keys.java')
-rw-r--r--src/main/java/org/traccar/config/Keys.java16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index ef0edbac3..1411e8a13 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -212,13 +212,27 @@ public final class Keys {
Collections.singletonList(KeyType.GLOBAL));
/**
- * Relevant only for geofence speed limits. Use lowest speed limits from all geofences.
+ * Relevant only for geofence speed limits. Use the lowest speed limit from all geofences.
*/
public static final ConfigKey<Boolean> EVENT_OVERSPEED_PREFER_LOWEST = new ConfigKey<>(
"event.overspeed.preferLowest",
Collections.singletonList(KeyType.GLOBAL));
/**
+ * Driver behavior acceleration threshold. Value is in meter per second squared.
+ */
+ public static final ConfigKey<Double> EVENT_BEHAVIOR_ACCELERATION_THRESHOLD = new ConfigKey<>(
+ "event.behavior.accelerationThreshold",
+ Collections.singletonList(KeyType.GLOBAL));
+
+ /**
+ * Driver behavior braking threshold. Value is in meter per second squared.
+ */
+ public static final ConfigKey<Double> EVENT_BEHAVIOR_BRAKING_THRESHOLD = new ConfigKey<>(
+ "event.behavior.brakingThreshold",
+ Collections.singletonList(KeyType.GLOBAL));
+
+ /**
* Do not generate alert event if same alert was present in last known location.
*/
public static final ConfigKey<Boolean> EVENT_IGNORE_DUPLICATE_ALERTS = new ConfigKey<>(