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
ReportExecutionNotificationHook
ReportExecutionNotificationHook.doVetoReportExecution(Report, ParameterSet, User, String, ReportExecutionConfig[])
method instead.notifyOfReportExecution
in interface ReportExecutionNotificationHook
ReportExecutorException
public void notifyOfReportsSuccessfulExecution(CompiledReport compiledReport, Report report, ParameterSet parameterSet, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs)
ReportExecutionNotificationHook
notifyOfReportsSuccessfulExecution
in interface ReportExecutionNotificationHook
public void notifyOfReportsUnsuccessfulExecution(ReportExecutorException e, Report report, ParameterSet parameterSet, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs)
ReportExecutionNotificationHook
notifyOfReportsUnsuccessfulExecution
in interface ReportExecutionNotificationHook
public void doVetoReportExecution(Report report, ParameterSet parameterSet, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs) throws ReportExecutorException
ReportExecutionNotificationHook
ReportExecutorException
.doVetoReportExecution
in interface ReportExecutionNotificationHook
ReportExecutorException