Interface SynchronisationManager
- All Known Implementing Classes:
SynchronisationManagerImpl
public interface SynchronisationManager
-
Method Summary
Modifier and TypeMethodDescriptiongetService
(String modelName) boolean
void
setSyncRunning
(boolean running) used to notify when a synchronisation is started or finished
-
Method Details
-
getAllAvailableServices
List<SynchronisationService> getAllAvailableServices()- Returns:
- a map ModelName → SynchronisationSerice of all registered services
-
getService
- Returns:
- a SynchronisationSerice for the given model
-
isSyncRunningInThread
boolean isSyncRunningInThread()- Returns:
- true if a synchronisation is currently running, false otherwise
-
setSyncRunning
void setSyncRunning(boolean running) used to notify when a synchronisation is started or finished- Parameters:
running
- true when starting sync, false otherwise
-