public interface

JobDetailAwareTrigger

org.springframework.scheduling.quartz.JobDetailAwareTrigger
Known Indirect Subclasses

Class Overview

Interface to be implemented by Quartz Triggers that are aware of the JobDetail object that they are associated with.

SchedulerFactoryBean will auto-detect Triggers that implement this interface and register them for the respective JobDetail accordingly.

The alternative is to configure a Trigger for a Job name and group: This involves the need to register the JobDetail object separately with SchedulerFactoryBean.

See Also

Summary

Public Methods
abstract JobDetail getJobDetail()
Return the JobDetail that this Trigger is associated with.

Public Methods

public abstract JobDetail getJobDetail ()

Return the JobDetail that this Trigger is associated with.

Returns
  • the associated JobDetail, or null if none