public void onListWatchesRequestReceived(ListWatchesManagementRequest request) {
ArrayList<Watch> watchList = new ArrayList<>();
for (File watchFolder : watchOperations.keySet()) {
boolean syncRunning = watchOperations.get(watchFolder).isSyncRunning();
SyncStatus syncStatus = (syncRunning) ? SyncStatus.SYNCING : SyncStatus.IN_SYNC;
watchList.add(new Watch(watchFolder, syncStatus));
}
eventBus.post(new ListWatchesManagementResponse(request.getId(), watchList));