DateTimeTriggerExecutor
Runs a DateTimeTrigger: fires once at the specified date and time.
Resuming fails if that time is in the past.
- Inheritance
-
- Object
- AbstractExecutor<
DateTimeTrigger> - TriggerExecutor<
DateTimeTrigger> - SchedulableTriggerExecutor<
DateTimeTrigger> - DateTimeTriggerExecutor
Constructors
DateTimeTriggerExecutor
Methods
getSchedule
Returns the times this trigger fires between from and to.
Ordered by time, except for RandomRecurrentTriggerExecutor.
max limits the number of iterations; its default depends on the implementation.
onResume
Called by resume. Returns true if successfully resumed.
If false, the executor moves to ExecutorState.PausedButShouldBeResumed.