public interface ISimpleTrigger extends ITrigger
ITrigger that is used to fire a Job at a
given moment in time, and optionally repeated at a specified interval.TriggerBuilder,
SimpleScheduleBuilderITrigger.ECompletedExecutionInstruction, ITrigger.EMisfireInstruction, ITrigger.ETriggerState| Modifier and Type | Field and Description |
|---|---|
static int |
REPEAT_INDEFINITELY
Used to indicate the 'repeat count' of the trigger is indefinite.
|
DEFAULT_PRIORITY| Modifier and Type | Method and Description |
|---|---|
int |
getRepeatCount()
Get the the number of times the
SimpleTrigger should repeat,
after which it will be automatically deleted. |
long |
getRepeatInterval()
Get the the time interval (in milliseconds) at which the
SimpleTrigger should repeat. |
int |
getTimesTriggered()
Get the number of times the
SimpleTrigger has already fired. |
TriggerBuilder<? extends ISimpleTrigger> |
getTriggerBuilder()
Get a
TriggerBuilder that is configured to produce a
Trigger identical to this one. |
compareTo, equals, getCalendarName, getClone, getDescription, getEndTime, getFinalFireTime, getFireTimeAfter, getJobDataMap, getJobKey, getKey, getMisfireInstruction, getNextFireTime, getPreviousFireTime, getPriority, getScheduleBuilder, getStartTime, mayFireAgainstatic final int REPEAT_INDEFINITELY
int getRepeatCount()
Get the the number of times the SimpleTrigger should repeat,
after which it will be automatically deleted.
REPEAT_INDEFINITELYlong getRepeatInterval()
Get the the time interval (in milliseconds) at which the
SimpleTrigger should repeat.
int getTimesTriggered()
Get the number of times the SimpleTrigger has already fired.
TriggerBuilder<? extends ISimpleTrigger> getTriggerBuilder()
ITriggerTriggerBuilder that is configured to produce a
Trigger identical to this one.getTriggerBuilder in interface ITriggerITrigger.getScheduleBuilder()Copyright © 2016–2021 Philip Helger. All rights reserved.