Class DefaultEventJobFactory

    • Constructor Detail

      • DefaultEventJobFactory

        public DefaultEventJobFactory()
    • Method Detail

      • buildJob

        public org.quartz.JobBuilder buildJob​(Schedule schedule,
                                              Map<String,​Serializable> parameters)
        Description copied from interface: EventJobFactory
        Builds the job of the scheduled event.

        Returns a builder to allow extensibility.

        Specified by:
        buildJob in interface EventJobFactory
        Parameters:
        schedule - Scheduled event contribution.
        parameters - Job parameters (might be null).
        Returns:
        An instance of JobBuilder.
      • buildTrigger

        public org.quartz.TriggerBuilder<?> buildTrigger​(Schedule schedule)
        Description copied from interface: EventJobFactory
        Builds the trigger of the scheduled event.

        Returns a builder to allow extensibility.

        Specified by:
        buildTrigger in interface EventJobFactory
        Parameters:
        schedule - Scheduled event contribution.
        Returns:
        An instance of TriggerBuilder.
      • getJobClass

        protected Class<? extends EventJob> getJobClass()