Class ReportsProcessor

java.lang.Object
com.logicaldoc.core.task.Task
com.logicaldoc.report.ReportsProcessor
All Implemented Interfaces:
Runnable

public class ReportsProcessor extends com.logicaldoc.core.task.Task
This task processes all the custom reports and execute the active ones.
Since:
7.6
Author:
Marco Meschieri- LogicalDOC
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class com.logicaldoc.core.task.Task

    STATUS_IDLE, STATUS_RUNNING, STATUS_STOPPING
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    long
     
    long
     
    org.slf4j.Logger
     
    boolean
     
    boolean
     
    void
    Processes all the reports
    void
    setErrors(long errors)
     
    void
    setExecuted(long executed)
     
    void
     
    void
     

    Methods inherited from class com.logicaldoc.core.task.Task

    addTaskListener, getCompletionPercentage, getConfig, getName, getProgress, getReportRecipients, getScheduling, getSize, getStatus, interrupt, isInterrupted, isInterruptRequested, isRunning, isSendActivityReport, notifyReport, removeTaskListener, run, save, saveWork, setReportRecipients, setSendActivityReport, setSize

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ReportsProcessor

      public ReportsProcessor()
  • Method Details

    • processReports

      public void processReports()
      Processes all the reports
    • isIndeterminate

      public boolean isIndeterminate()
      Specified by:
      isIndeterminate in class com.logicaldoc.core.task.Task
    • isConcurrent

      public boolean isConcurrent()
      Specified by:
      isConcurrent in class com.logicaldoc.core.task.Task
    • getExecuted

      public long getExecuted()
    • getErrors

      public long getErrors()
    • setExecuted

      public void setExecuted(long executed)
    • setErrors

      public void setErrors(long errors)
    • following

      public void following()
    • getLog

      public org.slf4j.Logger getLog()
    • setReportManager

      public void setReportManager(ReportManager reportManager)
    • setReportDao

      public void setReportDao(ReportDAO reportDao)