Update Trigger & TriggerContext reference documentation

Closes gh-29702
This commit is contained in:
Sam Brannen 2022-12-18 13:21:27 +01:00
parent 0bfddbc9cb
commit 5e42a6eb0a
1 changed files with 4 additions and 4 deletions

View File

@ -179,7 +179,7 @@ is quite simple, as the following listing shows:
----
public interface Trigger {
Date nextExecutionTime(TriggerContext triggerContext);
Instant nextExecution(TriggerContext triggerContext);
}
----
@ -192,11 +192,11 @@ default). The following listing shows the available methods for `Trigger` implem
----
public interface TriggerContext {
Date lastScheduledExecutionTime();
Instant lastScheduledExecution();
Date lastActualExecutionTime();
Instant lastActualExecution();
Date lastCompletionTime();
Instant lastCompletion();
}
----