aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config/KeyType.java
diff options
context:
space:
mode:
authorAnton Tananaev <atananaev@lyft.com>2020-12-28 14:26:47 -0800
committerAnton Tananaev <atananaev@lyft.com>2020-12-28 14:26:47 -0800
commitea0e6285be71112c5049d4712a2a31c8348dc9cc (patch)
tree46986824f54d07e84606802d93476387a912cc45 /src/main/java/org/traccar/config/KeyType.java
parent3cc85b094e571f7cf655b5b4d678a7ba718d323e (diff)
downloadtraccar-server-ea0e6285be71112c5049d4712a2a31c8348dc9cc.tar.gz
traccar-server-ea0e6285be71112c5049d4712a2a31c8348dc9cc.tar.bz2
traccar-server-ea0e6285be71112c5049d4712a2a31c8348dc9cc.zip
Refactor config keys
Diffstat (limited to 'src/main/java/org/traccar/config/KeyType.java')
-rw-r--r--src/main/java/org/traccar/config/KeyType.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/KeyType.java b/src/main/java/org/traccar/config/KeyType.java
new file mode 100644
index 000000000..35f958be6
--- /dev/null
+++ b/src/main/java/org/traccar/config/KeyType.java
@@ -0,0 +1,23 @@
+/*
+ * Copyright 2020 Anton Tananaev (anton@traccar.org)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.traccar.config;
+
+public enum KeyType {
+ FILE,
+ SERVER,
+ USER,
+ DEVICE,
+}