The Trigger type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Trigger | ||
Trigger(String) |
Create a Trigger with the given name, and default group.
| |
Trigger(String, String) |
Create a Trigger with the given name, and group.
| |
Trigger(String, String, String, String) |
Create a Trigger with the given name, and group.
|
Methods
Name | Description | |
---|---|---|
AddTriggerListener |
Add the specified name of a ITriggerListener to
the end of the Trigger's list of listeners.
| |
ClearAllTriggerListeners |
Remove all ITriggerListeners from the Trigger.
| |
Clone |
Creates a new object that is a copy of the current instance.
| |
CompareTo |
Compare the next fire time of this Trigger to that of
another.
| |
ComputeFirstFireTimeUtc |
This method should not be used by the Quartz client.
| |
Equals | (Overrides Object Equals(Object).) | |
ExecutionComplete |
This method should not be used by the Quartz client.
| |
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.) | |
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.
| |
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.
(Overrides Object GetHashCode .) | |
GetMayFireAgain |
Used by the IScheduler to determine whether or not
it is possible for this Trigger to fire again.
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).
| |
GetPreviousFireTimeUtc |
Returns the previous time at which the Trigger fired.
If the trigger has not yet fired, will be returned.
| |
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.
| |
ToString |
Return a simple string representation of this object.
(Overrides Object ToString .) | |
Triggered |
This method should not be used by the Quartz client.
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). | |
UpdateAfterMisfire | ||
UpdateWithNewCalendar | ||
Validate |
Validates whether the properties of the JobDetail are
valid for submission into a IScheduler.
| |
ValidateMisfireInstruction |
Validates the misfire instruction.
|
Fields
Name | Description | |
---|---|---|
DefaultPriority |
The default value for priority.
|
Properties
Name | Description | |
---|---|---|
CalendarName |
Get or set the ICalendar with the given name with
this Trigger. Use when setting to dis-associate a Calendar.
| |
Description |
Get or set the description given to the Trigger instance by
its creator (if any).
| |
EndTimeUtc |
Returns the date/time on which the trigger must stop firing. This
defines the final boundary for trigger firings 舒 the trigger will
not fire after to this date and time. If this value is null, no end time
boundary is assumed, and the trigger can continue indefinitely.
Sets the date/time on which the trigger must stop firing. This defines
the final boundary for trigger firings 舒 the trigger will not
fire after to this date and time. If this value is null, no end time
boundary is assumed, and the trigger can continue indefinitely.
| |
FinalFireTimeUtc |
Returns the last UTC time at which the Trigger will fire, if
the Trigger will repeat indefinitely, null will be returned.
Note that the return time *may* be in the past. | |
FireInstanceId | ||
FullJobName | ||
FullName |
Returns the 'full name' of the Trigger in the format
"group.name".
| |
Group |
Get the group of this Trigger. If , Scheduler.DefaultGroup will be used.
| |
HasAdditionalProperties |
Gets a value indicating whether this instance has additional properties
that should be considered when for example saving to database.
| |
HasMillisecondPrecision |
Tells whether this Trigger instance can handle events
in millisecond precision.
| |
JobDataMap |
Get or set the JobDataMap that is associated with the
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.
| |
JobName |
Get or set the name of the associated JobDetail.
| |
Key |
Gets the key.
| |
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.
If not explicitly set, the default value is InstructionNotSet. | |
Name |
Get or sets the name of this Trigger.
| |
Priority | ||
StartTimeUtc |
The time at which the trigger's scheduling should start. May or may not
be the first actual fire time of the trigger, depending upon the type of
trigger and the settings of the other properties of the trigger. However
the first actual first time will not be before this date.
| |
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.
| |
Volatile |
See Also