The CronTrigger type exposes the following members.
Name | Description | |
---|---|---|
CronTrigger |
Create a CronTrigger with no settings.
| |
CronTrigger(String) |
Create a CronTrigger with the given name and default group.
| |
CronTrigger(String, String) |
Create a CronTrigger with the given name and group.
| |
CronTrigger(String, String, String) |
Create a CronTrigger with the given name, group and
expression.
| |
CronTrigger(String, String, String, String) |
Create a CronTrigger with the given name and group, and
associated with the identified JobDetail.
| |
CronTrigger(String, String, String, String, String) |
Create a CronTrigger with the given name and group,
associated with the identified JobDetail,
and with the given "cron" expression.
| |
CronTrigger(String, String, String, String, String, TimeZoneInfo) |
Create a CronTrigger with the given name and group,
associated with the identified JobDetail,
and with the given "cron" expression resolved with respect to the TimeZone.
| |
CronTrigger(String, String, String, String, DateTime, Nullable DateTime , String) |
Create a CronTrigger that will occur at the given time,
until the given end time.
If null, the start-time will also be set to the current time, the time zone will be set the the system's default. | |
CronTrigger(String, String, String, String, DateTime, Nullable DateTime , String, TimeZoneInfo) |
Create a CronTrigger with fire time dictated by the
resolved with respect to the specified
occuring from the startTimeUtc until
the given .
|
Name | Description | |
---|---|---|
AddTriggerListener |
Add the specified name of a ITriggerListener to
the end of the Trigger's list of listeners.
(Inherited from Trigger.) | |
ClearAllTriggerListeners |
Remove all ITriggerListeners from the Trigger.
(Inherited from Trigger.) | |
Clone |
Clones this instance.
(Overrides Trigger Clone .) | |
CompareTo |
Compare the next fire time of this Trigger to that of
another.
(Inherited from Trigger.) | |
ComputeFirstFireTimeUtc |
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.
(Overrides Trigger ComputeFirstFireTimeUtc(ICalendar).)After this method has been called, GetNextFireTimeUtc should return a valid answer. | |
Equals | (Inherited from Trigger.) | |
ExecutionComplete |
This method should not be used by the Quartz client.
(Inherited from Trigger.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetExpressionSummary |
Gets the expression summary.
| |
GetFireTimeAfter |
Returns the next time at which the Trigger will fire,
after the given time. If the trigger will not fire after the given time,
will be returned.
(Overrides Trigger GetFireTimeAfter(Nullable DateTime ).) | |
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 Trigger.) | |
GetMayFireAgain |
Used by the IScheduler to determine whether or not
it is possible for this Trigger to fire again.
(Overrides Trigger GetMayFireAgain .)If the returned value is then the IScheduler may remove the Trigger from the IJobStore. | |
GetNextFireTimeUtc |
Returns the next time at which the Trigger 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 Trigger GetNextFireTimeUtc .) | |
GetPreviousFireTimeUtc |
Returns the previous time at which the Trigger fired.
If the trigger has not yet fired, will be returned.
(Overrides Trigger GetPreviousFireTimeUtc .) | |
GetTimeAfter |
Gets the next time to fire after the given time.
| |
GetTimeBefore |
NOT YET IMPLEMENTED: Returns the time before the given time
that this CronTrigger will fire.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveTriggerListener |
Remove the specified name of a ITriggerListener
from the Trigger's list of listeners.
(Inherited from Trigger.) | |
SetNextFireTime |
Sets the next fire time.
This method should not be invoked by client code. | |
SetPreviousFireTime |
Sets the previous fire time.
This method should not be invoked by client code. | |
ToString |
Return a simple string representation of this object.
(Inherited from Trigger.) | |
Triggered |
Called when the IScheduler has decided to 'fire'
the trigger (Execute the associated IJob), in order to
give the Trigger a chance to update itself for its next
triggering (if any).
(Overrides Trigger Triggered(ICalendar).) | |
UpdateAfterMisfire |
This method should not be used by the Quartz client.
(Overrides Trigger UpdateAfterMisfire(ICalendar).)To be implemented by the concrete classes that extend this class. The implementation should update the Trigger's state based on the MISFIRE_INSTRUCTION_XXX that was selected when the Trigger was created. | |
UpdateWithNewCalendar |
Updates the trigger with new calendar.
(Overrides Trigger UpdateWithNewCalendar(ICalendar, TimeSpan).) | |
Validate |
Validates whether the properties of the JobDetail are
valid for submission into a IScheduler.
(Inherited from Trigger.) | |
ValidateMisfireInstruction |
Validates the misfire instruction.
(Overrides Trigger ValidateMisfireInstruction(Int32).) | |
WillFireOn(DateTime) | Determines whether the date and (optionally) time of the given Calendar instance falls on a scheduled fire-time of this trigger. Equivalent to calling WillFireOn(DateTime, Boolean). | |
WillFireOn(DateTime, Boolean) |
Determines whether the date and (optionally) time of the given Calendar
instance falls on a scheduled fire-time of this trigger.
Note that the value returned is NOT validated against the related ICalendar (if any). |
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 Trigger.) | |
CronExpression |
Set the CronExpression to the given one. The TimeZone on the passed-in
CronExpression over-rides any that was already set on the Trigger.
| |
CronExpressionString |
Gets or sets the cron expression string.
| |
Description |
Get or set the description given to the Trigger instance by
its creator (if any).
(Inherited from Trigger.) | |
EndTimeUtc |
Get or sets the time at which the CronTrigger should quit
repeating - even if repeastCount isn't yet satisfied.
(Overrides Trigger EndTimeUtc.) | |
FinalFireTimeUtc |
Returns the last UTC time at which the Trigger will fire, if
the Trigger will repeat indefinitely, null will be returned.
(Overrides Trigger FinalFireTimeUtc.)Note that the return time *may* be in the past. | |
FireInstanceId |
This method should not be used by the Quartz client.
(Inherited from Trigger.)Usable by IJobStore implementations, in order to facilitate 'recognizing' instances of fired Trigger s as their jobs complete execution. | |
FullJobName | (Inherited from Trigger.) | |
FullName |
Returns the 'full name' of the Trigger in the format
"group.name".
(Inherited from Trigger.) | |
Group |
Get the group of this Trigger. If , Scheduler.DefaultGroup will be used.
(Inherited from Trigger.) | |
HasAdditionalProperties |
Gets a value indicating whether this instance has additional properties
that should be considered when for example saving to database.
(Inherited from Trigger.) | |
HasMillisecondPrecision |
Tells whether this Trigger instance can handle events
in millisecond precision.
(Overrides Trigger HasMillisecondPrecision.) | |
JobDataMap |
Get or set the JobDataMap that is associated with the
Trigger.
(Inherited from Trigger.)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 JobDetail's
group. If set with , Scheduler.DefaultGroup will be used.
(Inherited from Trigger.) | |
JobName |
Get or set the name of the associated JobDetail.
(Inherited from Trigger.) | |
Key |
Gets the key.
(Inherited from Trigger.) | |
MisfireInstruction |
Get or set the instruction the IScheduler should be given for
handling misfire situations for this Trigger- the
concrete Trigger 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 Trigger.)If not explicitly set, the default value is InstructionNotSet. | |
Name |
Get or sets the name of this Trigger.
(Inherited from Trigger.) | |
Priority |
The priority of a Trigger acts as a tie breaker such that if
two Triggers 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 Trigger.) | |
StartTimeUtc |
Returns the date/time on which the trigger may begin firing. This
defines the initial boundary for trigger firings the trigger
will not fire prior to this date and time.
(Overrides Trigger StartTimeUtc.) | |
TimeZone |
Sets the time zone for which the CronExpression of this
CronTrigger will be resolved.
| |
TriggerListenerNames |
Returns an array of String s containing the names of all
ITriggerListeners assigned to the Trigger,
in the order in which they should be notified.
(Inherited from Trigger.) | |
Volatile |
Whether or not the Trigger should be persisted in the
IJobStore for re-use after program restarts.
(Inherited from Trigger.)If not explicitly set, the default value is . |