Skip to content

Commit 5e42a6e

Browse files
committed
Update Trigger & TriggerContext reference documentation
Closes gh-29702
1 parent 0bfddbc commit 5e42a6e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

framework-docs/src/docs/asciidoc/integration/scheduling.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ is quite simple, as the following listing shows:
179179
----
180180
public interface Trigger {
181181
182-
Date nextExecutionTime(TriggerContext triggerContext);
182+
Instant nextExecution(TriggerContext triggerContext);
183183
}
184184
----
185185

@@ -192,11 +192,11 @@ default). The following listing shows the available methods for `Trigger` implem
192192
----
193193
public interface TriggerContext {
194194
195-
Date lastScheduledExecutionTime();
195+
Instant lastScheduledExecution();
196196
197-
Date lastActualExecutionTime();
197+
Instant lastActualExecution();
198198
199-
Date lastCompletionTime();
199+
Instant lastCompletion();
200200
}
201201
----
202202

0 commit comments

Comments
 (0)