Quartz.Impl.TriggersAbstractTrigger
Quartz.Impl.TriggersCalendarIntervalTriggerImpl
Namespace: Quartz.Impl.Triggers
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
[SerializableAttribute] public class CalendarIntervalTriggerImpl : AbstractTrigger, ICalendarIntervalTrigger, ITrigger, IComparable<ITrigger>
The CalendarIntervalTriggerImpl type exposes the following members.
Name | Description | |
---|---|---|
CalendarName |
Get or set the ICalendar with the given name with
this Trigger. Use when setting to dis-associate a Calendar.
(Inherited from AbstractTrigger.) | |
Description |
Get or set the description given to the ITrigger instance by
its creator (if any).
(Inherited from AbstractTrigger.) | |
EndTimeUtc |
Get the time at which the ICalendarIntervalTrigger should quit
repeating.
(Overrides AbstractTriggerEndTimeUtc.) | |
FinalFireTimeUtc |
Returns the final time at which the ICalendarIntervalTrigger will
fire, if there is no end time set, null will be returned.
(Overrides AbstractTriggerFinalFireTimeUtc.) | |
FireInstanceId |
This method should not be used by the Quartz client.
(Inherited from AbstractTrigger.) | |
FullJobName | (Inherited from AbstractTrigger.) | |
FullName |
Returns the 'full name' of the ITrigger in the format
"group.name".
(Inherited from AbstractTrigger.) | |
Group |
Get the group of this ITrigger. If , Scheduler.DefaultGroup will be used.
(Inherited from AbstractTrigger.) | |
HasAdditionalProperties | (Overrides AbstractTriggerHasAdditionalProperties.) | |
HasMillisecondPrecision |
Tells whether this Trigger instance can handle events
in millisecond precision.
(Overrides AbstractTriggerHasMillisecondPrecision.) | |
JobDataMap |
Get or set the JobDataMap that is associated with the
ITrigger.
(Inherited from AbstractTrigger.)Changes made to this map during job execution are not re-persisted, and in fact typically result in an illegal state. | |
JobGroup |
Gets or sets the name of the associated IJobDetail's
group. If set with , Scheduler.DefaultGroup will be used.
(Inherited from AbstractTrigger.) | |
JobKey | (Inherited from AbstractTrigger.) | |
JobName |
Get or set the name of the associated IJobDetail.
(Inherited from AbstractTrigger.) | |
Key |
Gets the key.
(Inherited from AbstractTrigger.) | |
MisfireInstruction |
Get or set the instruction the IScheduler should be given for
handling misfire situations for this ITrigger- the
concrete ITrigger type that you are using will have
defined a set of additional MISFIRE_INSTRUCTION_XXX
constants that may be passed to this method.
(Inherited from AbstractTrigger.)If not explicitly set, the default value is InstructionNotSet. | |
Name |
Get or sets the name of this ITrigger.
(Inherited from AbstractTrigger.) | |
PreserveHourOfDayAcrossDaylightSavings |
If intervals are a day or greater, this property (set to true) will
cause the firing of the trigger to always occur at the same time of day,
(the time of day of the startTime) regardless of daylight saving time
transitions. Default value is false.
| |
Priority |
The priority of a ITrigger acts as a tie breaker such that if
two ITriggers have the same scheduled fire time, then Quartz
will do its best to give the one with the higher priority first access
to a worker thread.
(Inherited from AbstractTrigger.) | |
RepeatInterval |
Get the time interval that will be added to the ICalendarIntervalTrigger's
fire time (in the set repeat interval unit) in order to calculate the time of the
next trigger repeat.
| |
RepeatIntervalUnit |
Get or set the interval unit - the time unit on with the interval applies.
| |
SkipDayIfHourDoesNotExist |
If intervals are a day or greater, and
preserveHourOfDayAcrossDaylightSavings property is set to true, and the
hour of the day does not exist on a given day for which the trigger
would fire, the day will be skipped and the trigger advanced a second
interval if this property is set to true. Defaults to false.
| |
StartTimeUtc |
Get the time at which the CalendarIntervalTriggerImpl should occur.
(Overrides AbstractTriggerStartTimeUtc.) | |
TimesTriggered |
Get the number of times the ICalendarIntervalTrigger has already fired.
| |
TimeZone |
Name | Description | |
---|---|---|
Clone |
Creates a new object that is a copy of the current instance.
(Inherited from AbstractTrigger.) | |
CompareTo |
Compare the next fire time of this ITrigger to that of
another by comparing their keys, or in other words, sorts them
according to the natural (i.e. alphabetical) order of their keys.
(Inherited from AbstractTrigger.) | |
ComputeFirstFireTimeUtc |
This method should not be used by the Quartz client.
(Overrides AbstractTriggerComputeFirstFireTimeUtc(ICalendar).) | |
Equals(Object) | (Inherited from AbstractTrigger.) | |
Equals(AbstractTrigger) |
Trigger equality is based upon the equality of the TriggerKey.
(Inherited from AbstractTrigger.) | |
ExecutionComplete |
This method should not be used by the Quartz client.
(Inherited from AbstractTrigger.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetFireTimeAfter(NullableDateTimeOffset) |
Returns the next time at which the ICalendarIntervalTrigger will fire,
after the given time. If the trigger will not fire after the given time,
will be returned.
(Overrides AbstractTriggerGetFireTimeAfter(NullableDateTimeOffset).) | |
GetFireTimeAfter(NullableDateTimeOffset, Boolean) | ||
GetHashCode |
Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from AbstractTrigger.) | |
GetMayFireAgain |
Determines whether or not the ICalendarIntervalTrigger will occur
again.
(Overrides AbstractTriggerGetMayFireAgain.) | |
GetNextFireTimeUtc |
Returns the next time at which the ITrigger is scheduled to fire. If
the trigger will not fire again, 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).
(Overrides AbstractTriggerGetNextFireTimeUtc.) | |
GetPreviousFireTimeUtc |
Returns the previous time at which the ICalendarIntervalTrigger fired.
If the trigger has not yet fired, will be returned.
(Overrides AbstractTriggerGetPreviousFireTimeUtc.) | |
GetScheduleBuilder | (Overrides AbstractTriggerGetScheduleBuilder.) | |
GetTriggerBuilder | (Inherited from AbstractTrigger.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetNextFireTimeUtc | (Overrides AbstractTriggerSetNextFireTimeUtc(NullableDateTimeOffset).) | |
SetPreviousFireTimeUtc | (Overrides AbstractTriggerSetPreviousFireTimeUtc(NullableDateTimeOffset).) | |
ToString |
Return a simple string representation of this object.
(Inherited from AbstractTrigger.) | |
Triggered |
This method should not be used by the Quartz client.
(Overrides AbstractTriggerTriggered(ICalendar).)Called when the IScheduler has decided to 'fire' the trigger (Execute the associated IJob), in order to give the ITrigger a chance to update itself for its next triggering (if any). | |
UpdateAfterMisfire |
Updates the ICalendarIntervalTrigger's state based on the
MisfireInstruction.XXX that was selected when the ICalendarIntervalTrigger
was created.
(Overrides AbstractTriggerUpdateAfterMisfire(ICalendar).) | |
UpdateWithNewCalendar |
This method should not be used by the Quartz client.
(Overrides AbstractTriggerUpdateWithNewCalendar(ICalendar, TimeSpan).)The implementation should update the ITrigger's state based on the given new version of the associated ICalendar (the state should be updated so that it's next fire time is appropriate given the Calendar's new settings). | |
Validate |
Validates whether the properties of the IJobDetail are
valid for submission into a IScheduler.
(Overrides AbstractTriggerValidate.) | |
ValidateMisfireInstruction |
Validates the misfire instruction.
(Overrides AbstractTriggerValidateMisfireInstruction(Int32).) |
If you use an interval unit of Month then care should be taken when setting a StartTimeUtc value that is on a day near the end of the month. For example, if you choose a start time that occurs on January 31st, and have a trigger with unit Month and interval 1, then the next fire time will be February 28th, and the next time after that will be March 28th - and essentially each subsequent firing will occur on the 28th of the month, even if a 31st day exists. If you want a trigger that always fires on the last day of the month - regardless of the number of days in the month, you should use ICronTrigger.