diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-08-27 23:45:17 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-08-27 23:45:17 -0700 |
commit | 27004f3b9c32ebf3a9f99fa2388ebcbd3fcfb5de (patch) | |
tree | 4599b7b83a9fd83b8fe0f1cb6afbf4f5fbc24dda /src/main/java/org/traccar/Context.java | |
parent | 6c3c6c5ead98e38b152685dd3528c0f70cdcac50 (diff) | |
download | trackermap-server-27004f3b9c32ebf3a9f99fa2388ebcbd3fcfb5de.tar.gz trackermap-server-27004f3b9c32ebf3a9f99fa2388ebcbd3fcfb5de.tar.bz2 trackermap-server-27004f3b9c32ebf3a9f99fa2388ebcbd3fcfb5de.zip |
Add device inactivity event
Diffstat (limited to 'src/main/java/org/traccar/Context.java')
-rw-r--r-- | src/main/java/org/traccar/Context.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/Context.java b/src/main/java/org/traccar/Context.java index 9c20db9e4..a7848d356 100644 --- a/src/main/java/org/traccar/Context.java +++ b/src/main/java/org/traccar/Context.java @@ -40,6 +40,7 @@ import org.traccar.database.MaintenancesManager; import org.traccar.database.MediaManager; import org.traccar.database.NotificationManager; import org.traccar.database.PermissionsManager; +import org.traccar.schedule.ScheduleManager; import org.traccar.database.UsersManager; import org.traccar.geocoder.Geocoder; import org.traccar.helper.Log; @@ -165,6 +166,12 @@ public final class Context { return serverManager; } + public static ScheduleManager scheduleManager; + + public static ScheduleManager getScheduleManager() { + return scheduleManager; + } + private static GeofenceManager geofenceManager; public static GeofenceManager getGeofenceManager() { @@ -332,6 +339,7 @@ public final class Context { } serverManager = new ServerManager(); + scheduleManager = new ScheduleManager(); if (config.getBoolean("event.forward.enable")) { eventForwarder = new JsonTypeEventForwarder(); |