Interface MTExportConfig
public interface MTExportConfig
Configuration for a silent MT export.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddContent(Class type, MTQuery query) Add content to include in the export.default booleanlite specificbooleandefault voidsetExportConfiguration(boolean exportConfiguration) lite specificvoidsetExportFile(File file) voidsetExportRemovalHistory(boolean exportRemovalHistory) voidsetLanguages(List<MTLanguage> languages) voidsetOnlyChangesTimestamp(MTTimestamp timestamp) voidsetTimestampName(String name)
-
Method Details
-
getExportFile
File getExportFile() -
setExportFile
-
getTimestampName
String getTimestampName() -
setTimestampName
-
getOnlyChangesTimestamp
MTTimestamp getOnlyChangesTimestamp() -
setOnlyChangesTimestamp
-
getLanguages
List<MTLanguage> getLanguages() -
setLanguages
-
isExportRemovalHistory
boolean isExportRemovalHistory() -
setExportRemovalHistory
void setExportRemovalHistory(boolean exportRemovalHistory) -
isExportConfiguration
default boolean isExportConfiguration()lite specific -
setExportConfiguration
default void setExportConfiguration(boolean exportConfiguration) lite specific -
addContent
Add content to include in the export.- Parameters:
type- The type of the content. The type used should be the least restrictive type, e.g.MTCompleteModel.classfor models etc.query- The query for obtaining the entities to export, the result type of the query must correspond to the type parameter.
-
getContent
-