@Component public class DefaultReportJobDelegate extends Object implements ReportJobDelegate
Modifier and Type | Field and Description |
---|---|
protected ApplicationEventPublisher |
publisher |
protected Report |
report |
protected ReportDataBinder |
reportDataBinder |
Constructor and Description |
---|
DefaultReportJobDelegate() |
Modifier and Type | Method and Description |
---|---|
void |
execute(String reportKey) |
void |
interrupt() |
boolean |
isInterrupted() |
protected void |
setStatus(String status)
Sets status.
|
@Autowired protected ReportDataBinder reportDataBinder
@Autowired protected ApplicationEventPublisher publisher
protected Report report
protected void setStatus(String status)
status
- the statuspublic void interrupt()
interrupt
in interface JobDelegate
public boolean isInterrupted()
isInterrupted
in interface JobDelegate
@Transactional public void execute(String reportKey) throws org.quartz.JobExecutionException
execute
in interface ReportJobDelegate
org.quartz.JobExecutionException
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.