Class NotificationJobListener

java.lang.Object
org.quartz.listeners.JobListenerSupport
ch.tocco.nice2.notificationcenter.impl.NotificationJobListener
All Implemented Interfaces:
org.quartz.JobListener

@Component @Order(10000) public class NotificationJobListener extends org.quartz.listeners.JobListenerSupport
Listener sends notification to the new client if the progress changes and the job is started/finished should run after StartingTaskExecutionJobListener and before FinishedTaskExecutionJobListener
  • Constructor Details

  • Method Details

    • jobToBeExecuted

      public void jobToBeExecuted(org.quartz.JobExecutionContext context)
      Specified by:
      jobToBeExecuted in interface org.quartz.JobListener
      Overrides:
      jobToBeExecuted in class org.quartz.listeners.JobListenerSupport
    • jobWasExecuted

      public void jobWasExecuted(org.quartz.JobExecutionContext context, org.quartz.JobExecutionException jobException)
      Specified by:
      jobWasExecuted in interface org.quartz.JobListener
      Overrides:
      jobWasExecuted in class org.quartz.listeners.JobListenerSupport
    • getName

      public String getName()