Package com.logicaldoc.report
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
-
-
Constructor Summary
Constructors Constructor Description ReportsProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_next()
long
getErrors()
long
getExecuted()
org.slf4j.Logger
getLog()
boolean
isConcurrent()
boolean
isIndeterminate()
void
processReports()
Processes all the reportsvoid
setErrors(long errors)
void
setExecuted(long executed)
void
setReportDao(ReportDAO reportDao)
void
setReportManager(ReportManager reportManager)
-
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, setConfig, setLockManager, setReportRecipients, setSendActivityReport, setSender, setSize, setSystemLoadMonitor, setUserDao
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
processReports
public void processReports()
Processes all the reports
-
isIndeterminate
public boolean isIndeterminate()
- Specified by:
isIndeterminate
in classcom.logicaldoc.core.task.Task
-
isConcurrent
public boolean isConcurrent()
- Specified by:
isConcurrent
in classcom.logicaldoc.core.task.Task
-
getExecuted
public long getExecuted()
-
getErrors
public long getErrors()
-
setExecuted
public void setExecuted(long executed)
-
setErrors
public void setErrors(long errors)
-
_next
public void _next()
-
getLog
public org.slf4j.Logger getLog()
-
setReportManager
public void setReportManager(ReportManager reportManager)
-
setReportDao
public void setReportDao(ReportDAO reportDao)
-
-