Class CmsCloneModuleThread

java.lang.Object
java.lang.Thread
org.opencms.report.A_CmsReportThread
org.opencms.workplace.tools.modules.CmsCloneModuleThread
All Implemented Interfaces:
Runnable, org.opencms.report.I_CmsReportThread

public class CmsCloneModuleThread extends org.opencms.report.A_CmsReportThread
The report thread to clone a module.

  • Field Details

  • Constructor Details

    • CmsCloneModuleThread

      protected CmsCloneModuleThread(org.opencms.file.CmsObject cms, CmsCloneModuleInfo cloneInfo)
      Constructor.

      Parameters:
      cms - the cms context
      cloneInfo - the clone module information
  • Method Details

    • getAllModuleNames

      Returns a list of all module names.

      Returns:
      a list of all module names
    • 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:
    • success

      public boolean success()
      Returns true if the module has been created successful.

      Returns:
      true if the module has been created successful