public interface IMutableTrigger extends ITrigger
ITrigger.ECompletedExecutionInstruction, ITrigger.EMisfireInstruction, ITrigger.ETriggerStateDEFAULT_PRIORITY| Modifier and Type | Method and Description |
|---|---|
IMutableTrigger |
getClone() |
void |
setCalendarName(String sCalendarName)
Associate the
Calendar with the given name with this Trigger. |
void |
setDescription(String sDescription)
Set a description for the
Trigger instance - may be useful for
remembering/displaying the purpose of the trigger, though the description
has no meaning to Quartz. |
void |
setEndTime(Date endTime)
Set the time at which the
Trigger should quit repeating -
regardless of any remaining repeats (based on the trigger's particular
repeat settings). |
void |
setJobDataMap(JobDataMap jobDataMap)
Set the
JobDataMap to be associated with the
Trigger. |
void |
setJobKey(JobKey key) |
void |
setKey(TriggerKey key) |
void |
setMisfireInstruction(ITrigger.EMisfireInstruction eMisfireInstruction)
Set the instruction the
Scheduler should be given for handling
misfire situations for this Trigger- the concrete
Trigger type that you are using will have defined a set of
additional MISFIRE_INSTRUCTION_XXX constants that may be
passed to this method. |
void |
setPriority(int priority)
The priority of a
Trigger acts as a tie breaker such that if
two Triggers have the same scheduled fire time, then Quartz
will do its best to give the one with the higher priority first access to a
worker thread. |
void |
setStartTime(Date startTime)
The time at which the trigger's scheduling should start.
|
compareTo, equals, getCalendarName, getDescription, getEndTime, getFinalFireTime, getFireTimeAfter, getJobDataMap, getJobKey, getKey, getMisfireInstruction, getNextFireTime, getPreviousFireTime, getPriority, getScheduleBuilder, getStartTime, getTriggerBuilder, mayFireAgainvoid setKey(@Nonnull TriggerKey key)
void setDescription(@Nullable String sDescription)
Trigger instance - may be useful for
remembering/displaying the purpose of the trigger, though the description
has no meaning to Quartz.void setCalendarName(@Nullable String sCalendarName)
Calendar with the given name with this Trigger.sCalendarName - use null to dis-associate a Calendar.void setJobDataMap(@Nullable JobDataMap jobDataMap)
JobDataMap to be associated with the
Trigger.jobDataMap - The new job data map. May be null.void setPriority(int priority)
Trigger acts as a tie breaker such that if
two Triggers have the same scheduled fire time, then Quartz
will do its best to give the one with the higher priority first access to a
worker thread.5.ITrigger.DEFAULT_PRIORITYvoid setStartTime(@Nonnull Date startTime)
startTime - start timevoid setEndTime(@Nullable Date endTime)
Set the time at which the Trigger should quit repeating -
regardless of any remaining repeats (based on the trigger's particular
repeat settings).
void setMisfireInstruction(ITrigger.EMisfireInstruction eMisfireInstruction)
Scheduler should be given for handling
misfire situations for this Trigger- the concrete
Trigger type that you are using will have defined a set of
additional MISFIRE_INSTRUCTION_XXX constants that may be
passed to this method.MISFIRE_INSTRUCTION_SMART_POLICY.IMutableTrigger getClone()
Copyright © 2016–2021 Philip Helger. All rights reserved.