aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config/Keys.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-07-14 06:49:08 -0700
committerAnton Tananaev <anton@traccar.org>2023-07-14 06:49:08 -0700
commit104e8a4a7829b4b4a4723a715cc2b15899fa8b9f (patch)
tree97f20ef8462f3293fb86d4e837c775e53b2d1868 /src/main/java/org/traccar/config/Keys.java
parent105873ab5256a774ef07ca7ee459da0917829591 (diff)
downloadtrackermap-server-104e8a4a7829b4b4a4723a715cc2b15899fa8b9f.tar.gz
trackermap-server-104e8a4a7829b4b4a4723a715cc2b15899fa8b9f.tar.bz2
trackermap-server-104e8a4a7829b4b4a4723a715cc2b15899fa8b9f.zip
Option to disable Topic commands
Diffstat (limited to 'src/main/java/org/traccar/config/Keys.java')
-rw-r--r--src/main/java/org/traccar/config/Keys.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index 6f5360c22..7ad981799 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -234,6 +234,13 @@ public final class Keys {
List.of(KeyType.CONFIG, KeyType.DEVICE));
/**
+ * Disable commands for the protocol. Not all protocols support this option.
+ */
+ public static final ConfigSuffix<Boolean> PROTOCOL_DISABLE_COMMANDS = new BooleanConfigSuffix(
+ ".disableCommands",
+ List.of(KeyType.CONFIG));
+
+ /**
* Protocol format. Used by protocols that have configurable message format.
*/
public static final ConfigSuffix<String> PROTOCOL_FORMAT = new StringConfigSuffix(