Interface DailyTimeIntervalMonthTrigger

All Superinterfaces:
Cloneable, Comparable<org.quartz.Trigger>, Serializable, org.quartz.Trigger
All Known Implementing Classes:
DailyTimeIntervalTriggerMonthImpl

interface DailyTimeIntervalMonthTrigger extends org.quartz.Trigger
按月计算
Since:
2024-01-15 14:26
Author:
xieyubin
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.quartz.Trigger

    org.quartz.Trigger.CompletedExecutionInstruction, org.quartz.Trigger.TriggerState, org.quartz.Trigger.TriggerTimeComparator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Instructs the Scheduler that upon a mis-fire situation, the DailyTimeIntervalTrigger wants to have it's next-fire-time updated to the next time in the schedule after the current time (taking into account any associated Calendar, but it does not want to be fired now.
    static final int
    Instructs the Scheduler that upon a mis-fire situation, the DailyTimeIntervalTrigger wants to be fired now by Scheduler.
    static final int
    Used to indicate the 'repeat count' of the trigger is indefinite.

    Fields inherited from interface org.quartz.Trigger

    DEFAULT_PRIORITY, MISFIRE_INSTRUCTION_IGNORE_MISFIRE_POLICY, MISFIRE_INSTRUCTION_SMART_POLICY, serialVersionUID
  • Method Summary

    Modifier and Type
    Method
    Description
    The days of the month upon which to fire.
    org.quartz.TimeOfDay
    The time of day to complete firing at the given interval.
    int
    Get the the number of times for interval this trigger should repeat, after which it will be automatically deleted.
    int
    Get the the time interval that will be added to the DateIntervalTrigger's fire time (in the set repeat interval unit) in order to calculate the time of the next trigger repeat.
    org.quartz.DateBuilder.IntervalUnit
    Get the interval unit - the time unit on with the interval applies.
    org.quartz.TimeOfDay
    The time of day to start firing at the given interval.
    int
    Get the number of times the DateIntervalTrigger has already fired.
    org.quartz.TriggerBuilder<DailyTimeIntervalMonthTrigger>
    triggerBuilder

    Methods inherited from interface org.quartz.Trigger

    compareTo, equals, getCalendarName, getDescription, getEndTime, getFinalFireTime, getFireTimeAfter, getJobDataMap, getJobKey, getKey, getMisfireInstruction, getNextFireTime, getPreviousFireTime, getPriority, getScheduleBuilder, getStartTime, mayFireAgain
  • Field Details

    • REPEAT_INDEFINITELY

      static final int REPEAT_INDEFINITELY

      Used to indicate the 'repeat count' of the trigger is indefinite. Or in other words, the trigger should repeat continually until the trigger's ending timestamp.

      See Also:
    • MISFIRE_INSTRUCTION_FIRE_ONCE_NOW

      static final int MISFIRE_INSTRUCTION_FIRE_ONCE_NOW

      Instructs the Scheduler that upon a mis-fire situation, the DailyTimeIntervalTrigger wants to be fired now by Scheduler.

      See Also:
    • MISFIRE_INSTRUCTION_DO_NOTHING

      static final int MISFIRE_INSTRUCTION_DO_NOTHING

      Instructs the Scheduler that upon a mis-fire situation, the DailyTimeIntervalTrigger wants to have it's next-fire-time updated to the next time in the schedule after the current time (taking into account any associated Calendar, but it does not want to be fired now.

      See Also:
  • Method Details

    • getRepeatIntervalUnit

      org.quartz.DateBuilder.IntervalUnit getRepeatIntervalUnit()

      Get the interval unit - the time unit on with the interval applies.

      The only intervals that are valid for this type of trigger are DateBuilder.IntervalUnit.SECOND, DateBuilder.IntervalUnit.MINUTE, and DateBuilder.IntervalUnit.HOUR.

      Returns:
      IntervalUnit
    • getRepeatCount

      int getRepeatCount()

      Get the the number of times for interval this trigger should repeat, after which it will be automatically deleted.

      Returns:
      int
      See Also:
    • getRepeatInterval

      int getRepeatInterval()

      Get the the time interval that will be added to the DateIntervalTrigger's fire time (in the set repeat interval unit) in order to calculate the time of the next trigger repeat.

      Returns:
      repeatInterval
    • getStartTimeOfDay

      org.quartz.TimeOfDay getStartTimeOfDay()
      The time of day to start firing at the given interval.
      Returns:
      startTimeOfDay
    • getEndTimeOfDay

      org.quartz.TimeOfDay getEndTimeOfDay()
      The time of day to complete firing at the given interval.
      Returns:
      endTimeOfDay
    • getDaysOfMonth

      Set<Integer> getDaysOfMonth()
      The days of the month upon which to fire.
      Returns:
      1-31
    • getTimesTriggered

      int getTimesTriggered()

      Get the number of times the DateIntervalTrigger has already fired.

      Returns:
      timesTriggered
    • getTriggerBuilder

      org.quartz.TriggerBuilder<DailyTimeIntervalMonthTrigger> getTriggerBuilder()
      triggerBuilder
      Specified by:
      getTriggerBuilder in interface org.quartz.Trigger
      Returns:
      triggerBuilder