@Component(value="reporting_ExecutionHistoryRecorder") public class ReportExecutionHistoryRecorderBean extends java.lang.Object implements ReportExecutionHistoryRecorder
NAME
Constructor and Description |
---|
ReportExecutionHistoryRecorderBean() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
cleanupHistory()
Should be invoked as scheduled task.
|
void |
markAsCancelled(ReportExecution execution) |
void |
markAsError(ReportExecution execution,
java.lang.Exception e) |
void |
markAsSuccess(ReportExecution execution,
com.haulmont.yarg.reporting.ReportOutputDocument document) |
ReportExecution |
startExecution(Report report,
java.util.Map<java.lang.String,java.lang.Object> params) |
public ReportExecution startExecution(Report report, java.util.Map<java.lang.String,java.lang.Object> params)
startExecution
in interface ReportExecutionHistoryRecorder
public void markAsSuccess(ReportExecution execution, com.haulmont.yarg.reporting.ReportOutputDocument document)
markAsSuccess
in interface ReportExecutionHistoryRecorder
public void markAsCancelled(ReportExecution execution)
markAsCancelled
in interface ReportExecutionHistoryRecorder
public void markAsError(ReportExecution execution, java.lang.Exception e)
markAsError
in interface ReportExecutionHistoryRecorder
public java.lang.String cleanupHistory()
ReportExecutionHistoryRecorder
cleanupHistory
in interface ReportExecutionHistoryRecorder