Class SynchronizeProjectApi
java.lang.Object
com.e1c.langtool.v8.dt.cli.api.impl.SynchronizeProjectApi
- All Implemented Interfaces:
ISynchronizeProjectApi
The default implementation of
ISynchronizeProjectApi.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsynchronizeProject(IDtProject dtProject, List<String> languages) Synchronizes the specified project.voidsynchronizeProject(IDtProject dtProject, List<String> languages, boolean cacheKeys) Synchronizes the specified project.
-
Constructor Details
-
SynchronizeProjectApi
public SynchronizeProjectApi()
-
-
Method Details
-
synchronizeProject
public void synchronizeProject(IDtProject dtProject, List<String> languages) throws TranslationCliApiException Description copied from interface:ISynchronizeProjectApiSynchronizes the specified project.- Specified by:
synchronizeProjectin interfaceISynchronizeProjectApi- 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
public void synchronizeProject(IDtProject dtProject, List<String> languages, boolean cacheKeys) throws TranslationCliApiException Description copied from interface:ISynchronizeProjectApiSynchronizes the specified project.- Specified by:
synchronizeProjectin interfaceISynchronizeProjectApi- 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
-