Class CmsIndexingReportThread

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

public class CmsIndexingReportThread extends org.opencms.report.A_CmsReportThread
Implements methods to utilize a report thread for CmsIndexingReport.

Since:
6.0.0
  • Constructor Details

    • CmsIndexingReportThread

      public CmsIndexingReportThread(org.opencms.file.CmsObject cms, List<String> indexNames)
      Creates an indexing Thread for full update.

      Parameters:
      cms - the current OpenCms context object
      indexNames - a list of names of the indexes to refresh or null for all indexes
  • Method Details

    • getError

      public Throwable getError()
      Returns the last error.

      Overrides:
      getError in class org.opencms.report.A_CmsReportThread
      See Also:
      • A_CmsReportThread.getError()
    • getReportUpdate

      Updates the report.

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

      public void run()
      Starts the indexing report thread.

      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
      See Also: