aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/Server.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-16 12:52:01 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-16 12:52:01 +1300
commitcb20652e72d37459f13821b3c7b3f8b8a4a09cf8 (patch)
tree75d43cd6c6baaa2195d83b30f9ce0cf285c0f379 /src/org/traccar/model/Server.java
parentf61aeccb5d925acfc862700263f91082a0419072 (diff)
downloadtrackermap-server-cb20652e72d37459f13821b3c7b3f8b8a4a09cf8.tar.gz
trackermap-server-cb20652e72d37459f13821b3c7b3f8b8a4a09cf8.tar.bz2
trackermap-server-cb20652e72d37459f13821b3c7b3f8b8a4a09cf8.zip
Add readonly flag to server settings
Diffstat (limited to 'src/org/traccar/model/Server.java')
-rw-r--r--src/org/traccar/model/Server.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/org/traccar/model/Server.java b/src/org/traccar/model/Server.java
index 880636a4c..00b1f60d0 100644
--- a/src/org/traccar/model/Server.java
+++ b/src/org/traccar/model/Server.java
@@ -37,6 +37,16 @@ public class Server {
this.registration = registration;
}
+ private boolean readonly;
+
+ public boolean getReadonly() {
+ return readonly;
+ }
+
+ public void setReadonly(boolean readonly) {
+ this.readonly = readonly;
+ }
+
private String map;
public String getMap() {