Package org.nuxeo.ecm.core.scheduler
Interface EventJobFactory
-
- All Known Implementing Classes:
DefaultEventJobFactory
public interface EventJobFactory
Factory instantiating theJob
and theTrigger
of a scheduled event.- Since:
- 10.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.quartz.JobBuilder
buildJob(Schedule schedule, Map<String,Serializable> parameters)
Builds the job of the scheduled event.org.quartz.ScheduleBuilder<?>
buildSchedule(Schedule schedule)
Builds the schedule of the trigger (used bybuildTrigger(Schedule)
).org.quartz.TriggerBuilder<?>
buildTrigger(Schedule schedule)
Builds the trigger of the scheduled event.
-
-
-
Method Detail
-
buildJob
org.quartz.JobBuilder buildJob(Schedule schedule, Map<String,Serializable> parameters)
Builds the job of the scheduled event.Returns a builder to allow extensibility.
- Parameters:
schedule
- Scheduled event contribution.parameters
- Job parameters (might benull
).- Returns:
- An instance of
JobBuilder
.
-
buildTrigger
org.quartz.TriggerBuilder<?> buildTrigger(Schedule schedule)
Builds the trigger of the scheduled event.Returns a builder to allow extensibility.
- Parameters:
schedule
- Scheduled event contribution.- Returns:
- An instance of
TriggerBuilder
.
-
buildSchedule
org.quartz.ScheduleBuilder<?> buildSchedule(Schedule schedule)
Builds the schedule of the trigger (used bybuildTrigger(Schedule)
).Returns a builder to allow extensibility.
- Parameters:
schedule
- Scheduled event contribution.- Returns:
- An instance of
ScheduleBuilder
.
-
-