public interface TriggerContext
修飾子と型 | メソッドと説明 |
---|---|
default ClockSE | getClock() トリガー計算に使用するクロックを返します。 |
DateSE | lastActualExecutionTime() タスクの最後の実際の実行時間、または以前にスケジュールされていない場合は null を返します。 |
DateSE | lastCompletionTime() タスクの最後の完了時刻を返します。以前にスケジュールされていない場合は、 null を返します。 |
DateSE | lastScheduledExecutionTime() タスクの最後にスケジュールされた実行時間を返します。スケジュールされていない場合は null を返します。 |
default ClockSE getClock()
TaskScheduler.getClock()
, Clock.systemDefaultZone()
SE@Nullable DateSE lastScheduledExecutionTime()
null
を返します。@Nullable DateSE lastActualExecutionTime()
null
を返します。