Interface EventJobFactory

  • All Known Implementing Classes:
    DefaultEventJobFactory

    public interface EventJobFactory
    Factory instantiating the Job and the Trigger of a scheduled event.
    Since:
    10.2
    • 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 be null).
        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 by buildTrigger(Schedule)).

        Returns a builder to allow extensibility.

        Parameters:
        schedule - Scheduled event contribution.
        Returns:
        An instance of ScheduleBuilder.