Interface ISynchronizeProjectApi

All Known Implementing Classes:
SynchronizeProjectApi

public interface ISynchronizeProjectApi
The class to synchronize projects.
  • Method Details

    • synchronizeProject

      void synchronizeProject(@NonNull IDtProject dtProject, @NonNull List<String> languages) throws TranslationCliApiException
      Synchronizes the specified project.
      Parameters:
      dtProject - the DT project to synchronize, cannot be null
      languages - the list of languages to synchronize for, cannot be null
      Throws:
      TranslationCliApiException - if failed to synchronize
    • synchronizeProject

      void synchronizeProject(@NonNull IDtProject dtProject, @NonNull List<String> languages, boolean cacheKeys) throws TranslationCliApiException
      Synchronizes the specified project.
      Parameters:
      dtProject - the DT project to synchronize, cannot be null
      languages - the list of languages to synchronize for, cannot be null
      cacheKeys - tells whether to cache keys while synchronization
      Throws:
      TranslationCliApiException - if failed to synchronize