Modifier and Type | Field and Description |
---|---|
(package private) java.util.List<java.io.File> |
filesToDelete |
(package private) static org.apache.commons.logging.Log |
LOG |
(package private) ReportVO |
reportConfig |
private ReportDao |
reportDao |
private ReportInstance |
reportInstance |
private User |
user |
PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_MEDIUM
Constructor and Description |
---|
ReportWorkItem() |
Modifier and Type | Method and Description |
---|---|
private void |
addFileAttachment(com.serotonin.web.email.EmailContent emailContent,
java.lang.String name,
java.io.File file) |
private void |
addImage(com.serotonin.web.email.EmailContent emailContent,
java.lang.String imagePath) |
void |
execute() |
int |
getPriority() |
static void |
queueReport(ReportVO report) |
static final org.apache.commons.logging.Log LOG
ReportVO reportConfig
private User user
private ReportDao reportDao
private ReportInstance reportInstance
java.util.List<java.io.File> filesToDelete
public int getPriority()
getPriority
in interface WorkItem
public static void queueReport(ReportVO report)
private void addImage(com.serotonin.web.email.EmailContent emailContent, java.lang.String imagePath)
private void addFileAttachment(com.serotonin.web.email.EmailContent emailContent, java.lang.String name, java.io.File file)