Package com.e1c.langtool.v8.dt.cli.api
Interface ISynchronizeProjectApi
- All Known Implementing Classes:
SynchronizeProjectApi
public interface ISynchronizeProjectApi
The class to synchronize projects.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsynchronizeProject(@NonNull IDtProject dtProject, @NonNull List<String> languages) Synchronizes the specified project.voidsynchronizeProject(@NonNull IDtProject dtProject, @NonNull List<String> languages, boolean cacheKeys) Synchronizes the specified project.
-
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 benulllanguages- the list of languages to synchronize for, cannot benull- 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 benulllanguages- the list of languages to synchronize for, cannot benullcacheKeys- tells whether to cache keys while synchronization- Throws:
TranslationCliApiException- if failed to synchronize
-