Package io.quarkus.scheduler
Interface Trigger
-
- All Known Implementing Classes:
SimpleScheduler.CronTrigger,SimpleScheduler.IntervalTrigger,SimpleScheduler.SimpleTrigger
public interface TriggerTrigger is bound to a scheduled task.- See Also:
Scheduled
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetId()InstantgetNextFireTime()InstantgetPreviousFireTime()
-
-
-
Method Detail
-
getId
String getId()
- Returns:
- the identifier
-
getNextFireTime
Instant getNextFireTime()
- Returns:
- the next time at which the trigger is scheduled to fire, or
nullif it will not fire again
-
getPreviousFireTime
Instant getPreviousFireTime()
- Returns:
- the previous time at which the trigger fired, or
nullif it has not fired yet
-
-