public interface StepExecutionDao
修飾子と型 | メソッドと説明 |
---|---|
void | addStepExecutions(JobExecution jobExecution) 親 JobExecution のすべての StepExecution を取得します。 |
default int | countStepExecutions(JobInstance jobInstance, java.lang.String stepName) 指定されたステップ名のすべての StepExecution をカウントします。 |
default StepExecution | getLastStepExecution(JobInstance jobInstance, java.lang.String stepName) 開始時刻、次に ID の順に並べられた、指定された JobInstance の最後の StepExecution を取得します。 |
StepExecution | getStepExecution(JobExecution jobExecution, java.lang.Long stepExecutionId) その ID から StepExecution を取得します。 |
void | saveStepExecution(StepExecution stepExecution) 指定された StepExecution を保存します。 |
void | saveStepExecutions(java.util.Collection<StepExecution> stepExecutions) StepExecution の指定されたコレクションをバッチとして保存します。 |
void | updateStepExecution(StepExecution stepExecution) 指定された StepExecution を更新します。前提条件: ID を null にすることはできません。 |
void saveStepExecution(StepExecution stepExecution)
stepExecution
- 保存する StepExecution
インスタンス。void saveStepExecutions(java.util.Collection<StepExecution> stepExecutions)
stepExecutions
- 保存する JobExecution
インスタンスのコレクション。void updateStepExecution(StepExecution stepExecution)
stepExecution
- 更新される StepExecution
インスタンス。@Nullable StepExecution getStepExecution(JobExecution jobExecution, java.lang.Long stepExecutionId)
StepExecution
を取得します。jobExecution
- 親 JobExecution
stepExecutionId
- ステップ実行 IDStepExecution
@Nullable default StepExecution getLastStepExecution(JobInstance jobInstance, java.lang.String stepName)
JobInstance
の最後の StepExecution
を取得します。jobInstance
- 親 JobInstance
stepName
- ステップの名前 StepExecution
void addStepExecutions(JobExecution jobExecution)
JobExecution
のすべての StepExecution
を取得します。jobExecution
- 親ジョブの実行 default int countStepExecutions(JobInstance jobInstance, java.lang.String stepName)
StepExecution
をカウントします。jobInstance
- 親 JobInstance
stepName
- ステップの名前 StepExecution
の数