Class FailedMailResendJob

java.lang.Object
com.helger.schedule.job.AbstractJob
com.helger.web.scope.util.AbstractScopeAwareJob
com.helger.photon.core.job.smtp.FailedMailResendJob
All Implemented Interfaces:
com.helger.quartz.IJob

@DisallowConcurrentExecution public final class FailedMailResendJob extends com.helger.web.scope.util.AbstractScopeAwareJob
A Quartz job, that tries to re-send failed mails.
Author:
Philip Helger
  • Constructor Summary

    Constructors
    Constructor
    Description
    Public no argument constructor must be available.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    onExecute(com.helger.quartz.JobDataMap aJobDataMap, com.helger.quartz.IJobExecutionContext aContext)
     
    static com.helger.quartz.TriggerKey
    schedule(com.helger.quartz.SimpleScheduleBuilder aScheduleBuilder)
     

    Methods inherited from class com.helger.web.scope.util.AbstractScopeAwareJob

    afterExecute, afterExecuteInScope, beforeExecute, beforeExecuteInScope, createMockHttpServletRequest, createMockHttpServletResponse

    Methods inherited from class com.helger.schedule.job.AbstractJob

    exceptionCallbacks, execute, triggerCustomExceptionHandler

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FailedMailResendJob

      public FailedMailResendJob()
      Public no argument constructor must be available.
  • Method Details

    • onExecute

      protected void onExecute(@Nonnull com.helger.quartz.JobDataMap aJobDataMap, @Nonnull com.helger.quartz.IJobExecutionContext aContext) throws com.helger.quartz.JobExecutionException
      Specified by:
      onExecute in class com.helger.schedule.job.AbstractJob
      Throws:
      com.helger.quartz.JobExecutionException
    • schedule

      @Nonnull public static com.helger.quartz.TriggerKey schedule(@Nonnull com.helger.quartz.SimpleScheduleBuilder aScheduleBuilder)
      Parameters:
      aScheduleBuilder - The schedule builder to be used. May not be null. Example: SimpleScheduleBuilder.repeatMinutelyForever (60)
      Returns:
      The created trigger key for further usage. Never null.