Interface TriggerFactory
- All Known Implementing Classes:
TriggerType
public interface TriggerFactory
Encapsulates the concerns of producing a Trigger reflecting ScheduleConfig state
-
Method Summary
Modifier and TypeMethodDescriptionorg.quartz.TriggernewTrigger(ScheduleConfig scheduleConfig, String triggerName)
-
Method Details
-
newTrigger
org.quartz.Trigger newTrigger(ScheduleConfig scheduleConfig, String triggerName) throws org.quartz.SchedulerException - Parameters:
scheduleConfig- The ScheduleConfig providing the state necessary to create the triggertriggerName- the name of the trigger- Returns:
- A trigger implementation reflecting the state of the scheduleConfig and jobName
- Throws:
org.quartz.SchedulerException- if invalid configuration state prevented a trigger from being created
-