Interface ReportJobDelegate

All Superinterfaces:
JobDelegate
All Known Implementing Classes:
AbstractReportJobDelegate, SampleReportJobDelegate
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ReportJobDelegate extends JobDelegate
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(String reportKey, JobExecutionContext context)
    Executes a Job to run the given Report.
    default void
    Optional configuration.
  • Method Details

    • setConf

      default void setConf(ReportConf conf)
      Optional configuration.
      Parameters:
      conf - configuration
    • execute

      void execute(String reportKey, JobExecutionContext context) throws JobExecutionException
      Executes a Job to run the given Report.
      Parameters:
      reportKey - Report key to run
      context - execution context, can be used to pass parameters to the job
      Throws:
      JobExecutionException - if anything goes wrong