CronTriggerObject Class
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CronTriggerObject Class

Convenience subclass of Quartz's CronTrigger type, making property based usage easier.

For a list of all members of this type, see CronTriggerObject Members .


[Visual Basic]
Public Class CronTriggerObject
    Inherits CronTrigger
    Implements IJobDetailAwareTrigger, IObjectNameAware, IInitializingObject
public class CronTriggerObject : CronTrigger, IJobDetailAwareTrigger, IObjectNameAware, IInitializingObject

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


CronTrigger itself is already property based but lacks sensible defaults. This class uses the Spring object name as job name, the Quartz default group ("DEFAULT") as job group, the current time as start time, and indefinite repetition, if not specified.

This class will also register the trigger with the job name and group of a given JobDetail. This allows SchedulerFactoryObject to automatically register a trigger for the corresponding JobDetail, instead of registering the JobDetail separately.


Namespace: Spring.Scheduling.Quartz

Assembly: Spring.Scheduling.Quartz (in Spring.Scheduling.Quartz.dll)

See Also

CronTriggerObject Members | Spring.Scheduling.Quartz Namespace | Name | Group | StartTimeUtc | JobName | JobGroup | JobDetail | Triggers | JobDetails