Browse Source

Update Trigger & TriggerContext reference documentation

Closes gh-29702
pull/29732/head
Sam Brannen 2 years ago
parent
commit
5e42a6eb0a
  1. 8
      framework-docs/src/docs/asciidoc/integration/scheduling.adoc

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

@ -179,7 +179,7 @@ is quite simple, as the following listing shows: @@ -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 @@ -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();
}
----

Loading…
Cancel
Save