Interface MTExportConfig


public interface MTExportConfig
Configuration for a silent MT export.
  • Method Details

    • getExportFile

      File getExportFile()
    • setExportFile

      void setExportFile(File file)
    • getTimestampName

      String getTimestampName()
    • setTimestampName

      void setTimestampName(String name)
    • getOnlyChangesTimestamp

      MTTimestamp getOnlyChangesTimestamp()
    • setOnlyChangesTimestamp

      void setOnlyChangesTimestamp(MTTimestamp timestamp)
    • getLanguages

      List<MTLanguage> getLanguages()
    • setLanguages

      void setLanguages(List<MTLanguage> languages)
    • isExportRemovalHistory

      boolean isExportRemovalHistory()
    • setExportRemovalHistory

      void setExportRemovalHistory(boolean exportRemovalHistory)
    • isExportConfiguration

      default boolean isExportConfiguration()
      lite specific
    • setExportConfiguration

      default void setExportConfiguration(boolean exportConfiguration)
      lite specific
    • addContent

      void addContent(Class type, MTQuery query)
      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

      Map<Class,MTQuery> getContent()