Interface ITriggerConfigurator
- Namespace
- Quartz
- Assembly
- Quartz.dll
The part of trigger configuration that does not depend on the job's type: choosing the trigger's schedule.
public interface ITriggerConfigurator
- Extension Methods
Remarks
The WithXSchedule extension methods are written against this interface and return the
receiver's own type, so they read the same whether the receiver is a
TriggerBuilder<TJob> or an ITriggerConfigurator<TJob>.
Methods
WithSchedule(IScheduleBuilder)
Set the IScheduleBuilder that will be used to define the Trigger's schedule.
ITriggerConfigurator WithSchedule(IScheduleBuilder scheduleBuilder)
Parameters
scheduleBuilderIScheduleBuilderthe schedule builder to use.
Returns
- ITriggerConfigurator
the updated TriggerBuilder
Remarks
The particular IScheduleBuilder used will dictate the concrete type of Trigger that is produced by the TriggerBuilder.
- See Also