Package org.nuxeo.ecm.core.scheduler
Class DefaultEventJobFactory
java.lang.Object
org.nuxeo.ecm.core.scheduler.DefaultEventJobFactory
- All Implemented Interfaces:
EventJobFactory
- Since:
- 10.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.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 byEventJobFactory.buildTrigger(Schedule)
).org.quartz.TriggerBuilder<?>
buildTrigger
(Schedule schedule) Builds the trigger of the scheduled event.
-
Constructor Details
-
DefaultEventJobFactory
public DefaultEventJobFactory()
-
-
Method Details
-
buildJob
Description copied from interface:EventJobFactory
Builds the job of the scheduled event.Returns a builder to allow extensibility.
- Specified by:
buildJob
in interfaceEventJobFactory
- Parameters:
schedule
- Scheduled event contribution.parameters
- Job parameters (might benull
).- Returns:
- An instance of
JobBuilder
.
-
buildTrigger
Description copied from interface:EventJobFactory
Builds the trigger of the scheduled event.Returns a builder to allow extensibility.
- Specified by:
buildTrigger
in interfaceEventJobFactory
- Parameters:
schedule
- Scheduled event contribution.- Returns:
- An instance of
TriggerBuilder
.
-
buildSchedule
Description copied from interface:EventJobFactory
Builds the schedule of the trigger (used byEventJobFactory.buildTrigger(Schedule)
).Returns a builder to allow extensibility.
- Specified by:
buildSchedule
in interfaceEventJobFactory
- Parameters:
schedule
- Scheduled event contribution.- Returns:
- An instance of
ScheduleBuilder
.
-
getJobClass
-