@HookConfig public interface ReportExecutionNotificationHook extends Hook
ReportEngine. It allows to be notified of report
execution events, and can be used to stop the execution of a report.| Modifier and Type | Method and Description |
|---|---|
void |
doVetoReportExecution(Report report,
ParameterSet parameterSet,
User user,
java.lang.String outputFormat,
ReportExecutionConfig[] configs)
Called before the execution of a report and meant to allow to veto (stop)
that execution.
|
void |
notifyOfReportExecution(Report report,
ParameterSet parameterSet,
User user,
java.lang.String outputFormat,
ReportExecutionConfig[] configs)
Called before a report is about to be executed.
|
void |
notifyOfReportsSuccessfulExecution(CompiledReport compiledReport,
Report report,
ParameterSet parameterSet,
User user,
java.lang.String outputFormat,
ReportExecutionConfig[] configs)
Called after successful completion of a report execution.
|
void |
notifyOfReportsUnsuccessfulExecution(ReportExecutorException e,
Report report,
ParameterSet parameterSet,
User user,
java.lang.String outputFormat,
ReportExecutionConfig[] configs)
Called after an unsuccessful execution of a report.
|
void notifyOfReportExecution(Report report, ParameterSet parameterSet, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs) throws ReportExecutorException
doVetoReportExecution(Report, ParameterSet, User, String, ReportExecutionConfig[])
method instead.report - parameterSet - user - outputFormat - configs - ReportExecutorExceptionvoid notifyOfReportsSuccessfulExecution(CompiledReport compiledReport, Report report, ParameterSet parameterSet, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs)
compiledReport - report - parameterSet - user - outputFormat - configs - void notifyOfReportsUnsuccessfulExecution(ReportExecutorException e, Report report, ParameterSet parameterSet, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs)
e - report - parameterSet - user - outputFormat - configs - void doVetoReportExecution(Report report, ParameterSet parameterSet, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs) throws ReportExecutorException
ReportExecutorException.report - parameterSet - user - outputFormat - configs - ReportExecutorException