Class CmsLanguageCopyThread

java.lang.Object
java.lang.Thread
org.opencms.report.A_CmsReportThread
org.opencms.workplace.tools.content.languagecopy.CmsLanguageCopyThread
All Implemented Interfaces:
Runnable, org.opencms.report.I_CmsReportThread

public class CmsLanguageCopyThread extends org.opencms.report.A_CmsReportThread
Copies language nodes in XML contents.

Since:
7.5.1
  • Constructor Details

    • CmsLanguageCopyThread

      public CmsLanguageCopyThread(org.opencms.file.CmsObject cms, String[] copyResources, boolean delete, String sourceLanguage, String targetLanguage)
      Copies language nodes in XML contents.

      Parameters:
      cms - the current cms context
      copyResources - the resources to copy
      delete - the delete flag
      sourceLanguage - the source language
      targetLanguage - the target language
  • Method Details

    • getReportUpdate

      Specified by:
      getReportUpdate in class org.opencms.report.A_CmsReportThread
      See Also:
      • A_CmsReportThread.getReportUpdate()
    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
      See Also:
    • getReport

      protected org.opencms.report.I_CmsReport getReport()
      Overrides:
      getReport in class org.opencms.report.A_CmsReportThread
      See Also:
      • A_CmsReportThread.getReport()