类 DailyTimeIntervalTriggerMonthImpl

java.lang.Object
org.quartz.impl.triggers.AbstractTrigger<DailyTimeIntervalMonthTrigger>
cn.sinozg.applet.quartz.use.ext.DailyTimeIntervalTriggerMonthImpl
所有已实现的接口:
DailyTimeIntervalMonthTrigger, Serializable, Cloneable, Comparable<org.quartz.Trigger>, org.quartz.impl.triggers.CoreTrigger, org.quartz.spi.MutableTrigger, org.quartz.spi.OperableTrigger, org.quartz.Trigger

public class DailyTimeIntervalTriggerMonthImpl extends org.quartz.impl.triggers.AbstractTrigger<DailyTimeIntervalMonthTrigger> implements DailyTimeIntervalMonthTrigger, org.quartz.impl.triggers.CoreTrigger
从以下版本开始:
2024-01-15 14:28
作者:
xieyubin
另请参阅:
  • 嵌套类概要

    从接口继承的嵌套类/接口 org.quartz.Trigger

    org.quartz.Trigger.CompletedExecutionInstruction, org.quartz.Trigger.TriggerState, org.quartz.Trigger.TriggerTimeComparator
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    private boolean
     
    private Set<Integer>
     
    private Date
     
    private org.quartz.TimeOfDay
     
    private Date
     
    private static final int
     
    private static final int
     
    private static final long
     
    private Date
     
    private int
     
    private int
     
    private org.quartz.DateBuilder.IntervalUnit
     
    private static final long
     
     
    private org.quartz.TimeOfDay
     
    private int
     
    private static final int
    Constants.

    从接口继承的字段 org.quartz.Trigger

    DEFAULT_PRIORITY, MISFIRE_INSTRUCTION_IGNORE_MISFIRE_POLICY, MISFIRE_INSTRUCTION_SMART_POLICY
  • 构造器概要

    构造器
    构造器
    说明
    Create a DailyTimeIntervalTrigger with no settings.
    DailyTimeIntervalTriggerMonthImpl(String name, String group, String jobName, String jobGroup, Date startTime, Date endTime, org.quartz.TimeOfDay startTimeOfDay, org.quartz.TimeOfDay endTimeOfDay, org.quartz.DateBuilder.IntervalUnit intervalUnit, int repeatInterval)
    Create a DailyTimeIntervalTrigger that will occur at the given time, fire the identified Job and repeat at the the given interval until the given end time.
    DailyTimeIntervalTriggerMonthImpl(String name, String group, Date startTime, Date endTime, org.quartz.TimeOfDay startTimeOfDay, org.quartz.TimeOfDay endTimeOfDay, org.quartz.DateBuilder.IntervalUnit intervalUnit, int repeatInterval)
    Create a DailyTimeIntervalTrigger that will occur at the given time, and repeat at the the given interval until the given end time.
    DailyTimeIntervalTriggerMonthImpl(String name, String group, org.quartz.TimeOfDay startTimeOfDay, org.quartz.TimeOfDay endTimeOfDay, org.quartz.DateBuilder.IntervalUnit intervalUnit, int repeatInterval)
    Create a DailyTimeIntervalTrigger that will occur immediately, and repeat at the the given interval.
    DailyTimeIntervalTriggerMonthImpl(String name, Date startTime, Date endTime, org.quartz.TimeOfDay startTimeOfDay, org.quartz.TimeOfDay endTimeOfDay, org.quartz.DateBuilder.IntervalUnit intervalUnit, int repeatInterval)
    Create a DailyTimeIntervalTrigger that will occur at the given time, and repeat at the the given interval until the given end time.
    DailyTimeIntervalTriggerMonthImpl(String name, org.quartz.TimeOfDay startTimeOfDay, org.quartz.TimeOfDay endTimeOfDay, org.quartz.DateBuilder.IntervalUnit intervalUnit, int repeatInterval)
    Create a DailyTimeIntervalTrigger that will occur immediately, and repeat at the the given interval.
  • 方法概要

    修饰符和类型
    方法
    说明
    private Date
    advanceToNextDayOfMonthIfNecessary(Date fireTime, boolean forceToAdvanceNextDay)
    Given fireTime time determine if it is on a valid day of week.
    computeFirstFireTime(org.quartz.Calendar calendar)
    Called by the scheduler at the time a Trigger is first added to the scheduler, in order to have the Trigger compute its first fire time, based on any associated calendar.
    private Calendar
     
    The days of the month upon which to fire.
    Get the time at which the DailyTimeIntervalTrigger should quit repeating.
    org.quartz.TimeOfDay
    The time of day to complete firing at the given interval.
    Returns the final time at which the DailyTimeIntervalTrigger will fire, if there is no end time set, null will be returned.
    Returns the next time at which the DailyTimeIntervalTrigger will fire, after the given time.
    Returns the next time at which the Trigger is scheduled to fire.
    Returns the previous time at which the DailyTimeIntervalTrigger fired.
    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.ScheduleBuilder<DailyTimeIntervalMonthTrigger>
    Get a ScheduleBuilder that is configured to produce a schedule identical to this trigger's schedule.
    Get the time at which the DailyTimeIntervalTrigger should occur.
    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.
    boolean
    This trigger has no additional properties besides what's defined in this class.
    private boolean
    isSameDay(Date d1, Date d2)
     
    boolean
    Determines whether or not the DailyTimeIntervalTrigger will occur again.
    void
    setDaysOfMonth(Set<Integer> daysOfMonth)
     
    void
    setEndTime(Date endTime)
    Set the time at which the DailyTimeIntervalTrigger should quit repeating (and be automatically deleted).
    void
    setEndTimeOfDay(org.quartz.TimeOfDay endTimeOfDay)
     
    void
    setNextFireTime(Date nextFireTime)
    Set the next time at which the DailyTimeIntervalTrigger should fire.
    void
    setPreviousFireTime(Date previousFireTime)
    Set the previous time at which the DailyTimeIntervalTrigger fired.
    void
    setRepeatCount(int repeatCount)
     
    void
    setRepeatInterval(int repeatInterval)
    set the the time interval that will be added to the DailyTimeIntervalTrigger's fire time (in the set repeat interval unit) in order to calculate the time of the next trigger repeat.
    void
    setRepeatIntervalUnit(org.quartz.DateBuilder.IntervalUnit intervalUnit)
    Set the interval unit - the time unit on with the interval applies.
    void
    setStartTime(Date startTime)
    Set the time at which the DailyTimeIntervalTrigger should occur.
    void
    setStartTimeOfDay(org.quartz.TimeOfDay startTimeOfDay)
     
    void
    setTimesTriggered(int timesTriggered)
    Set the number of times the DailyTimeIntervalTrigger has already fired.
    void
    triggered(org.quartz.Calendar calendar)
    Called when the Scheduler has decided to 'fire' the trigger (execute the associated Job), in order to give the Trigger a chance to update itself for its next triggering (if any).
    void
    updateAfterMisfire(org.quartz.Calendar cal)
    Updates the DailyTimeIntervalTrigger's state based on the MISFIRE_INSTRUCTION_XXX that was selected when the DailyTimeIntervalTrigger was created.
    void
    updateWithNewCalendar(org.quartz.Calendar calendar, long misfireThreshold)
     
    void
    Validates whether the properties of the JobDetail are valid for submission into a Scheduler.
    protected boolean
    validateMisfireInstruction(int misfireInstruction)
     

    从类继承的方法 org.quartz.impl.triggers.AbstractTrigger

    clone, compareTo, equals, executionComplete, getCalendarName, getDescription, getFireInstanceId, getFullJobName, getFullName, getGroup, getJobDataMap, getJobGroup, getJobKey, getJobName, getKey, getMisfireInstruction, getName, getPriority, getTriggerBuilder, hashCode, setCalendarName, setDescription, setFireInstanceId, setGroup, setJobDataMap, setJobGroup, setJobKey, setJobName, setKey, setMisfireInstruction, setName, setPriority, toString

    从类继承的方法 java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    从接口继承的方法 cn.sinozg.applet.quartz.use.ext.DailyTimeIntervalMonthTrigger

    getTriggerBuilder

    从接口继承的方法 org.quartz.Trigger

    compareTo, equals, getCalendarName, getDescription, getJobDataMap, getJobKey, getKey, getMisfireInstruction, getPriority
  • 字段详细资料

    • serialVersionUID

      private static final long serialVersionUID
      另请参阅:
    • YEAR_TO_GIVEUP_SCHEDULING_AT

      private static final int YEAR_TO_GIVEUP_SCHEDULING_AT
      Constants.
    • startTime

      private LocalDateTime startTime
    • endTime

      private Date endTime
    • nextFireTime

      private Date nextFireTime
    • previousFireTime

      private Date previousFireTime
    • repeatCount

      private int repeatCount
    • repeatInterval

      private int repeatInterval
    • repeatIntervalUnit

      private org.quartz.DateBuilder.IntervalUnit repeatIntervalUnit
    • daysOfMonth

      private Set<Integer> daysOfMonth
    • startTimeOfDay

      private org.quartz.TimeOfDay startTimeOfDay
    • endTimeOfDay

      private org.quartz.TimeOfDay endTimeOfDay
    • timesTriggered

      private int timesTriggered
    • complete

      private boolean complete
    • NUM_60

      private static final long NUM_60
      另请参阅:
    • NUM_24

      private static final int NUM_24
      另请参阅:
    • NUM_31

      private static final int NUM_31
      另请参阅:
  • 构造器详细资料

    • DailyTimeIntervalTriggerMonthImpl

      public DailyTimeIntervalTriggerMonthImpl()

      Create a DailyTimeIntervalTrigger with no settings.

    • DailyTimeIntervalTriggerMonthImpl

      public DailyTimeIntervalTriggerMonthImpl(String name, org.quartz.TimeOfDay startTimeOfDay, org.quartz.TimeOfDay endTimeOfDay, org.quartz.DateBuilder.IntervalUnit intervalUnit, int repeatInterval)

      Create a DailyTimeIntervalTrigger that will occur immediately, and repeat at the the given interval.

      参数:
      startTimeOfDay - The TimeOfDay that the repeating should begin occurring.
      endTimeOfDay - The TimeOfDay that the repeating should stop occurring.
      intervalUnit - The repeat interval unit. The only intervals that are valid for this type of trigger are DateBuilder.IntervalUnit.SECOND, DateBuilder.IntervalUnit.MINUTE, and DateBuilder.IntervalUnit.HOUR.
      抛出:
      IllegalArgumentException - if an invalid IntervalUnit is given, or the repeat interval is zero or less.
    • DailyTimeIntervalTriggerMonthImpl

      public DailyTimeIntervalTriggerMonthImpl(String name, String group, org.quartz.TimeOfDay startTimeOfDay, org.quartz.TimeOfDay endTimeOfDay, org.quartz.DateBuilder.IntervalUnit intervalUnit, int repeatInterval)

      Create a DailyTimeIntervalTrigger that will occur immediately, and repeat at the the given interval.

      参数:
      startTimeOfDay - The TimeOfDay that the repeating should begin occurring.
      endTimeOfDay - The TimeOfDay that the repeating should stop occurring.
      intervalUnit - The repeat interval unit. The only intervals that are valid for this type of trigger are DateBuilder.IntervalUnit.SECOND, DateBuilder.IntervalUnit.MINUTE, and DateBuilder.IntervalUnit.HOUR.
      抛出:
      IllegalArgumentException - if an invalid IntervalUnit is given, or the repeat interval is zero or less.
    • DailyTimeIntervalTriggerMonthImpl

      public DailyTimeIntervalTriggerMonthImpl(String name, Date startTime, Date endTime, org.quartz.TimeOfDay startTimeOfDay, org.quartz.TimeOfDay endTimeOfDay, org.quartz.DateBuilder.IntervalUnit intervalUnit, int repeatInterval)

      Create a DailyTimeIntervalTrigger that will occur at the given time, and repeat at the the given interval until the given end time.

      参数:
      startTime - A Date set to the time for the Trigger to fire.
      endTime - A Date set to the time for the Trigger to quit repeat firing.
      startTimeOfDay - The TimeOfDay that the repeating should begin occurring.
      endTimeOfDay - The TimeOfDay that the repeating should stop occurring.
      intervalUnit - The repeat interval unit. The only intervals that are valid for this type of trigger are DateBuilder.IntervalUnit.SECOND, DateBuilder.IntervalUnit.MINUTE, and DateBuilder.IntervalUnit.HOUR.
      repeatInterval - The number of milliseconds to pause between the repeat firing.
      抛出:
      IllegalArgumentException - if an invalid IntervalUnit is given, or the repeat interval is zero or less.
    • DailyTimeIntervalTriggerMonthImpl

      public DailyTimeIntervalTriggerMonthImpl(String name, String group, Date startTime, Date endTime, org.quartz.TimeOfDay startTimeOfDay, org.quartz.TimeOfDay endTimeOfDay, org.quartz.DateBuilder.IntervalUnit intervalUnit, int repeatInterval)

      Create a DailyTimeIntervalTrigger that will occur at the given time, and repeat at the the given interval until the given end time.

      参数:
      startTime - A Date set to the time for the Trigger to fire.
      endTime - A Date set to the time for the Trigger to quit repeat firing.
      startTimeOfDay - The TimeOfDay that the repeating should begin occurring.
      endTimeOfDay - The TimeOfDay that the repeating should stop occurring.
      intervalUnit - The repeat interval unit. The only intervals that are valid for this type of trigger are DateBuilder.IntervalUnit.SECOND, DateBuilder.IntervalUnit.MINUTE, and DateBuilder.IntervalUnit.HOUR.
      repeatInterval - The number of milliseconds to pause between the repeat firing.
      抛出:
      IllegalArgumentException - if an invalid IntervalUnit is given, or the repeat interval is zero or less.
    • DailyTimeIntervalTriggerMonthImpl

      public DailyTimeIntervalTriggerMonthImpl(String name, String group, String jobName, String jobGroup, Date startTime, Date endTime, org.quartz.TimeOfDay startTimeOfDay, org.quartz.TimeOfDay endTimeOfDay, org.quartz.DateBuilder.IntervalUnit intervalUnit, int repeatInterval)

      Create a DailyTimeIntervalTrigger that will occur at the given time, fire the identified Job and repeat at the the given interval until the given end time.

      参数:
      startTime - A Date set to the time for the Trigger to fire.
      endTime - A Date set to the time for the Trigger to quit repeat firing.
      startTimeOfDay - The TimeOfDay that the repeating should begin occurring.
      endTimeOfDay - The TimeOfDay that the repeating should stop occurring.
      intervalUnit - The repeat interval unit. The only intervals that are valid for this type of trigger are DateBuilder.IntervalUnit.SECOND, DateBuilder.IntervalUnit.MINUTE, and DateBuilder.IntervalUnit.HOUR.
      repeatInterval - The number of milliseconds to pause between the repeat firing.
      抛出:
      IllegalArgumentException - if an invalid IntervalUnit is given, or the repeat interval is zero or less.
  • 方法详细资料

    • getStartTime

      public Date getStartTime()

      Get the time at which the DailyTimeIntervalTrigger should occur. It defaults to the getStartTimeOfDay of current day.

      指定者:
      getStartTime 在接口中 org.quartz.Trigger
      指定者:
      getStartTime 在类中 org.quartz.impl.triggers.AbstractTrigger<DailyTimeIntervalMonthTrigger>
    • setStartTime

      public void setStartTime(Date startTime)

      Set the time at which the DailyTimeIntervalTrigger should occur.

      指定者:
      setStartTime 在接口中 org.quartz.spi.MutableTrigger
      指定者:
      setStartTime 在类中 org.quartz.impl.triggers.AbstractTrigger<DailyTimeIntervalMonthTrigger>
      抛出:
      IllegalArgumentException - if startTime is null.
    • getEndTime

      public Date getEndTime()

      Get the time at which the DailyTimeIntervalTrigger should quit repeating.

      指定者:
      getEndTime 在接口中 org.quartz.Trigger
      指定者:
      getEndTime 在类中 org.quartz.impl.triggers.AbstractTrigger<DailyTimeIntervalMonthTrigger>
      另请参阅:
    • setEndTime

      public void setEndTime(Date endTime)

      Set the time at which the DailyTimeIntervalTrigger should quit repeating (and be automatically deleted).

      指定者:
      setEndTime 在接口中 org.quartz.spi.MutableTrigger
      指定者:
      setEndTime 在类中 org.quartz.impl.triggers.AbstractTrigger<DailyTimeIntervalMonthTrigger>
      抛出:
      IllegalArgumentException - if endTime is before start time.
    • getRepeatIntervalUnit

      public org.quartz.DateBuilder.IntervalUnit getRepeatIntervalUnit()
      从接口复制的说明: DailyTimeIntervalMonthTrigger

      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.

      指定者:
      getRepeatIntervalUnit 在接口中 DailyTimeIntervalMonthTrigger
      返回:
      DateBuilder
      另请参阅:
    • setRepeatIntervalUnit

      public void setRepeatIntervalUnit(org.quartz.DateBuilder.IntervalUnit intervalUnit)

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

      参数:
      intervalUnit - The repeat interval unit. The only intervals that are valid for this type of trigger are DateBuilder.IntervalUnit.SECOND, DateBuilder.IntervalUnit.MINUTE, and DateBuilder.IntervalUnit.HOUR.
    • getRepeatInterval

      public int getRepeatInterval()
      从接口复制的说明: DailyTimeIntervalMonthTrigger

      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.

      指定者:
      getRepeatInterval 在接口中 DailyTimeIntervalMonthTrigger
      返回:
      repeatInterval
      另请参阅:
    • setRepeatInterval

      public void setRepeatInterval(int repeatInterval)

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

      抛出:
      IllegalArgumentException - if repeatInterval is < 1
    • getTimesTriggered

      public int getTimesTriggered()
      从接口复制的说明: DailyTimeIntervalMonthTrigger

      Get the number of times the DateIntervalTrigger has already fired.

      指定者:
      getTimesTriggered 在接口中 DailyTimeIntervalMonthTrigger
      返回:
      timesTriggered
      另请参阅:
    • setTimesTriggered

      public void setTimesTriggered(int timesTriggered)

      Set the number of times the DailyTimeIntervalTrigger has already fired.

    • validateMisfireInstruction

      protected boolean validateMisfireInstruction(int misfireInstruction)
      指定者:
      validateMisfireInstruction 在类中 org.quartz.impl.triggers.AbstractTrigger<DailyTimeIntervalMonthTrigger>
    • updateAfterMisfire

      public void updateAfterMisfire(org.quartz.Calendar cal)

      Updates the DailyTimeIntervalTrigger's state based on the MISFIRE_INSTRUCTION_XXX that was selected when the DailyTimeIntervalTrigger was created.

      If the misfire instruction is set to MISFIRE_INSTRUCTION_SMART_POLICY, then the following scheme will be used:

      • The instruction will be interpreted as MISFIRE_INSTRUCTION_FIRE_ONCE_NOW

      指定者:
      updateAfterMisfire 在接口中 org.quartz.spi.OperableTrigger
      指定者:
      updateAfterMisfire 在类中 org.quartz.impl.triggers.AbstractTrigger<DailyTimeIntervalMonthTrigger>
    • triggered

      public void triggered(org.quartz.Calendar calendar)

      Called when the Scheduler has decided to 'fire' the trigger (execute the associated Job), in order to give the Trigger a chance to update itself for its next triggering (if any).

      指定者:
      triggered 在接口中 org.quartz.spi.OperableTrigger
      指定者:
      triggered 在类中 org.quartz.impl.triggers.AbstractTrigger<DailyTimeIntervalMonthTrigger>
      另请参阅:
      • AbstractTrigger.executionComplete(JobExecutionContext, JobExecutionException)
    • updateWithNewCalendar

      public void updateWithNewCalendar(org.quartz.Calendar calendar, long misfireThreshold)
      指定者:
      updateWithNewCalendar 在接口中 org.quartz.spi.OperableTrigger
      指定者:
      updateWithNewCalendar 在类中 org.quartz.impl.triggers.AbstractTrigger<DailyTimeIntervalMonthTrigger>
      另请参阅:
      • AbstractTrigger.updateWithNewCalendar(org.quartz.Calendar, long)
    • computeFirstFireTime

      public Date computeFirstFireTime(org.quartz.Calendar calendar)

      Called by the scheduler at the time a Trigger is first added to the scheduler, in order to have the Trigger compute its first fire time, based on any associated calendar.

      After this method has been called, getNextFireTime() should return a valid answer.

      指定者:
      computeFirstFireTime 在接口中 org.quartz.spi.OperableTrigger
      指定者:
      computeFirstFireTime 在类中 org.quartz.impl.triggers.AbstractTrigger<DailyTimeIntervalMonthTrigger>
      返回:
      the first time at which the Trigger will be fired by the scheduler, which is also the same value getNextFireTime() will return (until after the first firing of the Trigger).

    • createCalendarTime

      private Calendar createCalendarTime(Date dateTime)
    • getNextFireTime

      public Date getNextFireTime()

      Returns the next time at which the Trigger is scheduled to fire. If the trigger will not fire again, null will be returned. Note that the time returned can possibly be in the past, if the time that was computed for the trigger to next fire has already arrived, but the scheduler has not yet been able to fire the trigger (which would likely be due to lack of resources e.g. threads).

      The value returned is not guaranteed to be valid until after the Trigger has been added to the scheduler.

      指定者:
      getNextFireTime 在接口中 org.quartz.Trigger
      指定者:
      getNextFireTime 在类中 org.quartz.impl.triggers.AbstractTrigger<DailyTimeIntervalMonthTrigger>
    • getPreviousFireTime

      public Date getPreviousFireTime()

      Returns the previous time at which the DailyTimeIntervalTrigger fired. If the trigger has not yet fired, null will be returned.

      指定者:
      getPreviousFireTime 在接口中 org.quartz.Trigger
      指定者:
      getPreviousFireTime 在类中 org.quartz.impl.triggers.AbstractTrigger<DailyTimeIntervalMonthTrigger>
    • setNextFireTime

      public void setNextFireTime(Date nextFireTime)

      Set the next time at which the DailyTimeIntervalTrigger should fire.

      This method should not be invoked by client code.

      指定者:
      setNextFireTime 在接口中 org.quartz.spi.OperableTrigger
    • setPreviousFireTime

      public void setPreviousFireTime(Date previousFireTime)

      Set the previous time at which the DailyTimeIntervalTrigger fired.

      This method should not be invoked by client code.

      指定者:
      setPreviousFireTime 在接口中 org.quartz.spi.OperableTrigger
    • getFireTimeAfter

      public Date getFireTimeAfter(Date afterTime)

      Returns the next time at which the DailyTimeIntervalTrigger will fire, after the given time. If the trigger will not fire after the given time, null will be returned.

      指定者:
      getFireTimeAfter 在接口中 org.quartz.Trigger
      指定者:
      getFireTimeAfter 在类中 org.quartz.impl.triggers.AbstractTrigger<DailyTimeIntervalMonthTrigger>
    • isSameDay

      private boolean isSameDay(Date d1, Date d2)
    • advanceToNextDayOfMonthIfNecessary

      private Date advanceToNextDayOfMonthIfNecessary(Date fireTime, boolean forceToAdvanceNextDay)
      Given fireTime time determine if it is on a valid day of week. If so, simply return it unaltered, if not, advance to the next valid week day, and set the time of day to the start time of day
      参数:
      fireTime - - given next fireTime.
      forceToAdvanceNextDay - - flag to whether to advance day without check existing week day. This scenario can happen when a caller determine fireTime has passed the endTimeOfDay that fireTime should move to next day anyway.
      返回:
      a next day fireTime.
    • getFinalFireTime

      public Date getFinalFireTime()

      Returns the final time at which the DailyTimeIntervalTrigger will fire, if there is no end time set, null will be returned.

      Note that the return time may be in the past.

      指定者:
      getFinalFireTime 在接口中 org.quartz.Trigger
      指定者:
      getFinalFireTime 在类中 org.quartz.impl.triggers.AbstractTrigger<DailyTimeIntervalMonthTrigger>
    • mayFireAgain

      public boolean mayFireAgain()

      Determines whether or not the DailyTimeIntervalTrigger will occur again.

      指定者:
      mayFireAgain 在接口中 org.quartz.Trigger
      指定者:
      mayFireAgain 在类中 org.quartz.impl.triggers.AbstractTrigger<DailyTimeIntervalMonthTrigger>
    • validate

      public void validate() throws org.quartz.SchedulerException

      Validates whether the properties of the JobDetail are valid for submission into a Scheduler.

      指定者:
      validate 在接口中 org.quartz.spi.OperableTrigger
      覆盖:
      validate 在类中 org.quartz.impl.triggers.AbstractTrigger<DailyTimeIntervalMonthTrigger>
      抛出:
      IllegalStateException - if a required property (such as Name, Group, Class) is not set.
      org.quartz.SchedulerException
    • getDaysOfMonth

      public Set<Integer> getDaysOfMonth()
      The days of the month upon which to fire.
      指定者:
      getDaysOfMonth 在接口中 DailyTimeIntervalMonthTrigger
      返回:
      1-31
    • setDaysOfMonth

      public void setDaysOfMonth(Set<Integer> daysOfMonth)
    • getStartTimeOfDay

      public org.quartz.TimeOfDay getStartTimeOfDay()
      The time of day to start firing at the given interval.
      指定者:
      getStartTimeOfDay 在接口中 DailyTimeIntervalMonthTrigger
      返回:
      startTimeOfDay
    • setStartTimeOfDay

      public void setStartTimeOfDay(org.quartz.TimeOfDay startTimeOfDay)
    • getEndTimeOfDay

      public org.quartz.TimeOfDay getEndTimeOfDay()
      The time of day to complete firing at the given interval.
      指定者:
      getEndTimeOfDay 在接口中 DailyTimeIntervalMonthTrigger
      返回:
      endTimeOfDay
    • setEndTimeOfDay

      public void setEndTimeOfDay(org.quartz.TimeOfDay endTimeOfDay)
    • getScheduleBuilder

      public org.quartz.ScheduleBuilder<DailyTimeIntervalMonthTrigger> getScheduleBuilder()
      Get a ScheduleBuilder that is configured to produce a schedule identical to this trigger's schedule.
      指定者:
      getScheduleBuilder 在接口中 org.quartz.Trigger
      指定者:
      getScheduleBuilder 在类中 org.quartz.impl.triggers.AbstractTrigger<DailyTimeIntervalMonthTrigger>
      另请参阅:
      • AbstractTrigger.getTriggerBuilder()
    • hasAdditionalProperties

      public boolean hasAdditionalProperties()
      This trigger has no additional properties besides what's defined in this class.
      指定者:
      hasAdditionalProperties 在接口中 org.quartz.impl.triggers.CoreTrigger
    • getRepeatCount

      public int getRepeatCount()
      从接口复制的说明: DailyTimeIntervalMonthTrigger

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

      指定者:
      getRepeatCount 在接口中 DailyTimeIntervalMonthTrigger
      返回:
      int
      另请参阅:
    • setRepeatCount

      public void setRepeatCount(int repeatCount)