Interface MTExportConfig
public interface MTExportConfig
Configuration for a silent MT export.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addContent
(Class type, MTQuery query) Add content to include in the export.default boolean
lite specificboolean
default void
setExportConfiguration
(boolean exportConfiguration) lite specificvoid
setExportFile
(File file) void
setExportRemovalHistory
(boolean exportRemovalHistory) void
setLanguages
(List<MTLanguage> languages) void
setOnlyChangesTimestamp
(MTTimestamp timestamp) void
setTimestampName
(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.class
for models etc.query
- The query for obtaining the entities to export, the result type of the query must correspond to the type parameter.
-
getContent
-