接口 StepExecutionDao
- 所有已知实现类:
JdbcStepExecutionDao
,MapStepExecutionDao
public interface StepExecutionDao
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 void
addStepExecutions(JobExecution jobExecution)
Retrieve all theStepExecution
for the parentJobExecution
.StepExecution
getStepExecution(JobExecution jobExecution, java.lang.Long stepExecutionId)
Retrieve aStepExecution
from its id.void
saveStepExecution(StepExecution stepExecution)
Save the given StepExecution.void
saveStepExecutions(java.util.Collection<StepExecution> stepExecutions)
Save the given collection of StepExecution as a batch.void
updateStepExecution(StepExecution stepExecution)
Update the given StepExecution Preconditions: Id must not be null.
方法详细资料
saveStepExecution
void saveStepExecution(StepExecution stepExecution)
Save the given StepExecution. Preconditions: Id must be null. Postconditions: Id will be set to a unique Long.- 参数:
stepExecution
-StepExecution
instance to be saved.
saveStepExecutions
void saveStepExecutions(java.util.Collection<StepExecution> stepExecutions)
Save the given collection of StepExecution as a batch. Preconditions: StepExecution Id must be null. Postconditions: StepExecution Id will be set to a unique Long.- 参数:
stepExecutions
- a collection ofJobExecution
instances to be saved.
updateStepExecution
void updateStepExecution(StepExecution stepExecution)
Update the given StepExecution Preconditions: Id must not be null.- 参数:
stepExecution
-StepExecution
instance to be updated.
getStepExecution
@Nullable StepExecution getStepExecution(JobExecution jobExecution, java.lang.Long stepExecutionId)
Retrieve aStepExecution
from its id.- 参数:
jobExecution
- the parentJobExecution
stepExecutionId
- the step execution id- 返回:
- a
StepExecution
addStepExecutions
void addStepExecutions(JobExecution jobExecution)
Retrieve all theStepExecution
for the parentJobExecution
.- 参数:
jobExecution
- the parent job execution