Method | Description | |
---|---|---|
NewJob ( Quartz.Spi.TriggerFiredBundle bundle, IScheduler scheduler ) : IJob |
Called by the scheduler at the time of the trigger firing, in order to produce a IJob instance on which to call Execute. It should be extremely rare for this method to throw an exception - basically only the case where there is no way at all to instantiate and prepare the Job for execution. When the exception is thrown, the Scheduler will move all triggers associated with the Job into the TriggerState.Error state, which will require human intervention (e.g. an application restart after fixing whatever configuration problem led to the issue with instantiating the Job). |
|
SetObjectProperties ( object obj, JobDataMap data ) : void |
Sets the object properties.
|
Method | Description | |
---|---|---|
ConvertValueIfNecessary ( |
Method | Description | |
---|---|---|
HandleError ( string message ) : void | ||
HandleError ( string message, |
protected ConvertValueIfNecessary ( |
||
requiredType | ||
newValue | object | |
return | object |
public NewJob ( Quartz.Spi.TriggerFiredBundle bundle, IScheduler scheduler ) : IJob | ||
bundle | Quartz.Spi.TriggerFiredBundle | The TriggerFiredBundle from which the |
scheduler | IScheduler | |
return | IJob |
public SetObjectProperties ( object obj, JobDataMap data ) : void | ||
obj | object | The object to set properties to. |
data | JobDataMap | The data to set. |
return | void |