Package | Description |
---|---|
org.quartz |
The main package of Quartz, containing the client-side interfaces.
|
org.quartz.impl.triggers |
This package contains Trigger implementations that ship with Quartz.
|
Modifier and Type | Method and Description |
---|---|
TriggerBuilder<T> |
TriggerBuilder.endAt(Date triggerEndTime)
Set the time at which the Trigger will no longer fire - even if it's
schedule has remaining repeats.
|
TriggerBuilder<T> |
TriggerBuilder.forJob(JobDetail jobDetail)
Set the identity of the Job which should be fired by the produced
Trigger, by extracting the JobKey from the given job.
|
TriggerBuilder<T> |
TriggerBuilder.forJob(JobKey keyOfJobToFire)
Set the identity of the Job which should be fired by the produced
Trigger.
|
TriggerBuilder<T> |
TriggerBuilder.forJob(String jobName)
Set the identity of the Job which should be fired by the produced
Trigger - a
JobKey will be produced with the given
name and default group. |
TriggerBuilder<T> |
TriggerBuilder.forJob(String jobName,
String jobGroup)
Set the identity of the Job which should be fired by the produced
Trigger - a
JobKey will be produced with the given
name and group. |
TriggerBuilder<? extends Trigger> |
Trigger.getTriggerBuilder()
Get a
TriggerBuilder that is configured to produce a
Trigger identical to this one. |
TriggerBuilder<SimpleTrigger> |
SimpleTrigger.getTriggerBuilder() |
TriggerBuilder<DailyTimeIntervalTrigger> |
DailyTimeIntervalTrigger.getTriggerBuilder() |
TriggerBuilder<CronTrigger> |
CronTrigger.getTriggerBuilder() |
TriggerBuilder<CalendarIntervalTrigger> |
CalendarIntervalTrigger.getTriggerBuilder() |
TriggerBuilder<T> |
TriggerBuilder.modifiedByCalendar(String calName)
Set the name of the
Calendar that should be applied to this
Trigger's schedule. |
static TriggerBuilder<Trigger> |
TriggerBuilder.newTrigger()
Create a new TriggerBuilder with which to define a
specification for a Trigger.
|
TriggerBuilder<T> |
TriggerBuilder.startAt(Date triggerStartTime)
Set the time the Trigger should start at - the trigger may or may
not fire at this time - depending upon the schedule configured for
the Trigger.
|
TriggerBuilder<T> |
TriggerBuilder.startNow()
Set the time the Trigger should start at to the current moment -
the trigger may or may not fire at this time - depending upon the
schedule configured for the Trigger.
|
TriggerBuilder<T> |
TriggerBuilder.usingJobData(JobDataMap newJobDataMap)
Set the Trigger's
JobDataMap , adding any values to it
that were already set on this TriggerBuilder using any of the
other 'usingJobData' methods. |
TriggerBuilder<T> |
TriggerBuilder.usingJobData(String dataKey,
Boolean value)
Add the given key-value pair to the Trigger's
JobDataMap . |
TriggerBuilder<T> |
TriggerBuilder.usingJobData(String dataKey,
Double value)
Add the given key-value pair to the Trigger's
JobDataMap . |
TriggerBuilder<T> |
TriggerBuilder.usingJobData(String dataKey,
Float value)
Add the given key-value pair to the Trigger's
JobDataMap . |
TriggerBuilder<T> |
TriggerBuilder.usingJobData(String dataKey,
Integer value)
Add the given key-value pair to the Trigger's
JobDataMap . |
TriggerBuilder<T> |
TriggerBuilder.usingJobData(String dataKey,
Long value)
Add the given key-value pair to the Trigger's
JobDataMap . |
TriggerBuilder<T> |
TriggerBuilder.usingJobData(String dataKey,
String value)
Add the given key-value pair to the Trigger's
JobDataMap . |
TriggerBuilder<T> |
TriggerBuilder.withDescription(String triggerDescription)
Set the given (human-meaningful) description of the Trigger.
|
TriggerBuilder<T> |
TriggerBuilder.withIdentity(String name)
Use a
TriggerKey with the given name and default group to
identify the Trigger. |
TriggerBuilder<T> |
TriggerBuilder.withIdentity(String name,
String group)
Use a TriggerKey with the given name and group to
identify the Trigger.
|
TriggerBuilder<T> |
TriggerBuilder.withIdentity(TriggerKey triggerKey)
Use the given TriggerKey to identify the Trigger.
|
TriggerBuilder<T> |
TriggerBuilder.withPriority(int triggerPriority)
Set the Trigger's priority.
|
<SBT extends T> |
TriggerBuilder.withSchedule(ScheduleBuilder<SBT> schedBuilder)
Set the
ScheduleBuilder that will be used to define the
Trigger's schedule. |
Modifier and Type | Method and Description |
---|---|
TriggerBuilder<T> |
AbstractTrigger.getTriggerBuilder() |
Copyright 2001-2019, Terracotta, Inc.