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
-
Field Summary
Fields inherited from class com.logicaldoc.core.task.Task
STATUS_IDLE, STATUS_RUNNING, STATUS_STOPPING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
_next()
long
long
org.slf4j.Logger
getLog()
boolean
boolean
void
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 Details
-
NAME
- See Also:
-
-
Constructor Details
-
ReportsProcessor
public ReportsProcessor()
-
-
Method Details
-
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
-
setReportDao
-