Interface Trigger

All Known Subinterfaces:
CronTrigger
All Known Implementing Classes:
OneShotTrigger, UnixCronTrigger

public interface Trigger
Author:
Matthieu Chaffotte
  • Method Details

    • getName

      String getName()
      Gets the name of the trigger
      Returns:
      the name of the trigger
      Since:
      6.0
    • getStartDate

      Date getStartDate()
      Returns when the trigger must start
      Returns:
      a date when the trigger must start
      Since:
      6.0
    • getPriority

      int getPriority()
      The trigger of the highest priority will be executed first.
      Returns:
      the trigger's priority
      Since:
      6.0
    • getMisfireHandlingPolicy

      Trigger.MisfireRestartPolicy getMisfireHandlingPolicy()
      Tell the scheduler how to handle jobs that were not executed in time.
      Returns:
      the MisfireHandlingPolicy for this trigger