Interface DailyTimeIntervalMonthTrigger
- All Superinterfaces:
Cloneable,Comparable<org.quartz.Trigger>,Serializable,org.quartz.Trigger
- All Known Implementing Classes:
DailyTimeIntervalTriggerMonthImpl
- 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
FieldsModifier and TypeFieldDescriptionstatic final intInstructs thethat upon a mis-fire situation, theSchedulerwants to have it's next-fire-time updated to the next time in the schedule after the current time (taking into account any associatedDailyTimeIntervalTrigger, but it does not want to be fired now.Calendarstatic final intInstructs thethat upon a mis-fire situation, theSchedulerwants to be fired now byDailyTimeIntervalTriggerScheduler.static final intUsed 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 TypeMethodDescriptionThe days of the month upon which to fire.org.quartz.TimeOfDayThe time of day to complete firing at the given interval.intGet the the number of times for interval this trigger should repeat, after which it will be automatically deleted.intGet the the time interval that will be added to theDateIntervalTrigger's fire time (in the set repeat interval unit) in order to calculate the time of the next trigger repeat.org.quartz.DateBuilder.IntervalUnitGet the interval unit - the time unit on with the interval applies.org.quartz.TimeOfDayThe time of day to start firing at the given interval.intGet the number of times theDateIntervalTriggerhas already fired.org.quartz.TriggerBuilder<DailyTimeIntervalMonthTrigger>triggerBuilderMethods 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_INDEFINITELYUsed 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_NOWInstructs the
that upon a mis-fire situation, theSchedulerwants to be fired now byDailyTimeIntervalTriggerScheduler.- See Also:
-
MISFIRE_INSTRUCTION_DO_NOTHING
static final int MISFIRE_INSTRUCTION_DO_NOTHINGInstructs the
that upon a mis-fire situation, theSchedulerwants to have it's next-fire-time updated to the next time in the schedule after the current time (taking into account any associatedDailyTimeIntervalTrigger, but it does not want to be fired now.Calendar- 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, andDateBuilder.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
The days of the month upon which to fire.- Returns:
- 1-31
-
getTimesTriggered
int getTimesTriggered()Get the number of times the
DateIntervalTriggerhas already fired.- Returns:
- timesTriggered
-
getTriggerBuilder
org.quartz.TriggerBuilder<DailyTimeIntervalMonthTrigger> getTriggerBuilder()triggerBuilder- Specified by:
getTriggerBuilderin interfaceorg.quartz.Trigger- Returns:
- triggerBuilder
-