public class SimpleTriggerContext extends ObjectSE implements TriggerContext
TriggerContext インターフェースのシンプルなデータホルダー実装。| コンストラクターと説明 |
|---|
SimpleTriggerContext() すべての時間値を null に設定して SimpleTriggerContext を作成します。 |
SimpleTriggerContext(DateSE lastScheduledExecutionTime, DateSE lastActualExecutionTime, DateSE lastCompletionTime) 指定された時間値で SimpleTriggerContext を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
DateSE | lastActualExecutionTime() タスクの最後の実際の実行時間、または以前にスケジュールされていない場合は null を返します。 |
DateSE | lastCompletionTime() タスクの最後の完了時刻を返します。以前にスケジュールされていない場合は、 null を返します。 |
DateSE | lastScheduledExecutionTime() タスクの最後にスケジュールされた実行時間を返します。スケジュールされていない場合は null を返します。 |
void | update(DateSE lastScheduledExecutionTime, DateSE lastActualExecutionTime, DateSE lastCompletionTime) このホルダーの状態を最新の時刻値で更新します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic SimpleTriggerContext()
null に設定して SimpleTriggerContext を作成します。public void update(DateSE lastScheduledExecutionTime, DateSE lastActualExecutionTime, DateSE lastCompletionTime)
lastScheduledExecutionTime - 最後にスケジュールされた実行時間 lastActualExecutionTime - 最後の実際の実行時間 lastCompletionTime - 最終完了時刻 @Nullable public DateSE lastScheduledExecutionTime()
TriggerContextnull を返します。TriggerContext の lastScheduledExecutionTime @Nullable public DateSE lastActualExecutionTime()
TriggerContextnull を返します。TriggerContext の lastActualExecutionTime @Nullable public DateSE lastCompletionTime()
TriggerContextnull を返します。TriggerContext の lastCompletionTime