public class OutputFormatAuthWatchDog extends java.lang.Object implements ReportExecutionNotificationHook
| Constructor and Description |
|---|
OutputFormatAuthWatchDog() |
| 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.
|
public void notifyOfReportExecution(Report report, ParameterSet parameterSet, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs) throws ReportExecutorException
ReportExecutionNotificationHookReportExecutionNotificationHook.doVetoReportExecution(Report, ParameterSet, User, String, ReportExecutionConfig[])
method instead.notifyOfReportExecution in interface ReportExecutionNotificationHookReportExecutorExceptionpublic void notifyOfReportsSuccessfulExecution(CompiledReport compiledReport, Report report, ParameterSet parameterSet, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs)
ReportExecutionNotificationHooknotifyOfReportsSuccessfulExecution in interface ReportExecutionNotificationHookpublic void notifyOfReportsUnsuccessfulExecution(ReportExecutorException e, Report report, ParameterSet parameterSet, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs)
ReportExecutionNotificationHooknotifyOfReportsUnsuccessfulExecution in interface ReportExecutionNotificationHookpublic void doVetoReportExecution(Report report, ParameterSet parameterSet, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs) throws ReportExecutorException
ReportExecutionNotificationHookReportExecutorException.doVetoReportExecution in interface ReportExecutionNotificationHookReportExecutorException