インターフェース StepExecutionDao
- すべての既知の実装クラス:
JdbcStepExecutionDao
public interface StepExecutionDao
メソッドのサマリー
修飾子と型メソッド説明void
addStepExecutions
(JobExecution jobExecution) 親JobExecution
のすべてのStepExecution
を取得します。default long
countStepExecutions
(JobInstance jobInstance, StringSE stepName) 指定されたステップ名のすべてのStepExecution
をカウントします。default void
deleteStepExecution
(StepExecution stepExecution) 指定されたステップ実行を削除します。default StepExecution
getLastStepExecution
(JobInstance jobInstance, StringSE stepName) 指定されたJobInstance
の最後のStepExecution
を、作成時間、ID の順に並べて取得します。getStepExecution
(JobExecution jobExecution, LongSE stepExecutionId) その ID からStepExecution
を取得します。void
saveStepExecution
(StepExecution stepExecution) 指定された StepExecution を保存します。void
saveStepExecutions
(CollectionSE<StepExecution> stepExecutions) StepExecution の指定されたコレクションをバッチとして保存します。void
updateStepExecution
(StepExecution stepExecution) 指定された StepExecution を更新します
メソッドの詳細
saveStepExecution
指定された StepExecution を保存します。事前条件: ID は null である必要があります。
事後条件: ID は一意の Long に設定されます。
- パラメーター:
stepExecution
- 保存するStepExecution
インスタンス。
saveStepExecutions
StepExecution の指定されたコレクションをバッチとして保存します。事前条件: StepExecution ID は null である必要があります。
事後条件: StepExecution Id は一意の Long に設定されます。
- パラメーター:
stepExecutions
- 保存するJobExecution
インスタンスのコレクション。
updateStepExecution
指定された StepExecution を更新します事前条件: ID は null であってはなりません。
- パラメーター:
stepExecution
- 更新されるStepExecution
インスタンス。
getStepExecution
その ID からStepExecution
を取得します。- パラメーター:
jobExecution
- 親JobExecution
stepExecutionId
- ステップ実行 ID- 戻り値:
StepExecution
getLastStepExecution
指定されたJobInstance
の最後のStepExecution
を、作成時間、ID の順に並べて取得します。- パラメーター:
jobInstance
- 親JobInstance
stepName
- ステップの名前- 戻り値:
StepExecution
addStepExecutions
親JobExecution
のすべてのStepExecution
を取得します。- パラメーター:
jobExecution
- 親ジョブの実行
countStepExecutions
指定されたステップ名のすべてのStepExecution
をカウントします。- パラメーター:
jobInstance
- 親JobInstance
stepName
- ステップの名前- 戻り値:
- 特定のステップの
StepExecution
の数 - 導入:
- 4.3
deleteStepExecution
指定されたステップ実行を削除します。- パラメーター:
stepExecution
- 削除するステップ実行- 導入:
- 5.0