A helpful abstract base class for implementors of IJobListener.
Inheritance Hierarchy
Quartz.ListenerJobListenerSupport
Quartz.ListenerJobChainingJobListener
Namespace: Quartz.Listener
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
public abstract class JobListenerSupport : IJobListener
The JobListenerSupport type exposes the following members.
Constructors
Name | Description | |
---|---|---|
JobListenerSupport | Initializes a new instance of the JobListenerSupport class |
Properties
Name | Description | |
---|---|---|
Name |
Get the name of the IJobListener.
|
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
JobExecutionVetoed |
Called by the IScheduler when a IJobDetail
was about to be executed (an associated ITrigger
has occurred), but a ITriggerListener vetoed it's
execution.
| |
JobToBeExecuted |
Called by the IScheduler when a IJobDetail
is about to be executed (an associated ITrigger
has occurred).
This method will not be invoked if the execution of the Job was vetoed by a ITriggerListener. | |
JobWasExecuted |
Called by the IScheduler after a IJobDetail
has been executed, and be for the associated ITrigger's
Triggered(ICalendar) method has been called.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
The methods in this class are empty so you only need to override the subset for the IJobListener events you care about.
You are required to implement Name to return the unique name of your IJobListener.
See Also