Interface SynchronisationManager

All Known Implementing Classes:
SynchronisationManagerImpl

public interface SynchronisationManager
  • Method Details

    • getAllAvailableServices

      List<SynchronisationService> getAllAvailableServices()
      Returns:
      a map ModelName → SynchronisationSerice of all registered services
    • getService

      Optional<SynchronisationService> getService(String modelName)
      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