C# Класс R.Scheduler.Core.AuditJobListener

Persist history of all job executions via implementation of IPersistanceStore configured during the Scheduler initialisation. Log history of all job executions via Common.Logging.
Наследование: IJobListener
Показать файл Открыть проект

Открытые методы

Метод Описание
AuditJobListener ( ) : System
JobExecutionVetoed ( IJobExecutionContext context ) : void

Called by the Schedule when a IJobDetail was about to be executed (an associated ITrigger has occured), but a ITriggerListener vetoed it's execution.

JobToBeExecuted ( IJobExecutionContext context ) : void

Called by the Scheduler 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 ( IJobExecutionContext context, Quartz.JobExecutionException jobException ) : void

Called by the Scheduler after a IJobDetail has been executed, and be for the associated ITrigger's IOperableTrigger.Triggered method has been called.

Приватные методы

Метод Описание
GetAuditLog ( string action, IJobExecutionContext context ) : AuditLog

Описание методов

AuditJobListener() публичный Метод

public AuditJobListener ( ) : System
Результат System

JobExecutionVetoed() публичный Метод

Called by the Schedule when a IJobDetail was about to be executed (an associated ITrigger has occured), but a ITriggerListener vetoed it's execution.
public JobExecutionVetoed ( IJobExecutionContext context ) : void
context IJobExecutionContext
Результат void

JobToBeExecuted() публичный Метод

Called by the Scheduler 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.
public JobToBeExecuted ( IJobExecutionContext context ) : void
context IJobExecutionContext
Результат void

JobWasExecuted() публичный Метод

Called by the Scheduler after a IJobDetail has been executed, and be for the associated ITrigger's IOperableTrigger.Triggered method has been called.
public JobWasExecuted ( IJobExecutionContext context, Quartz.JobExecutionException jobException ) : void
context IJobExecutionContext
jobException Quartz.JobExecutionException
Результат void