public class MapStepExecutionDao extends java.lang.Object implements StepExecutionDao
StepExecutionDao.| Constructor and Description |
|---|
MapStepExecutionDao() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStepExecutions(JobExecution jobExecution)
Retrieve all the
StepExecution for the parent JobExecution. |
void |
clear() |
StepExecution |
getStepExecution(JobExecution jobExecution,
java.lang.Long stepExecutionId)
Retrieve a
StepExecution 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.
|
public void clear()
public void saveStepExecution(StepExecution stepExecution)
StepExecutionDaosaveStepExecution in interface StepExecutionDaostepExecution - StepExecution instance to be saved.public void updateStepExecution(StepExecution stepExecution)
StepExecutionDaoupdateStepExecution in interface StepExecutionDaostepExecution - StepExecution instance to be updated.@Nullable public StepExecution getStepExecution(JobExecution jobExecution, java.lang.Long stepExecutionId)
StepExecutionDaoStepExecution from its id.getStepExecution in interface StepExecutionDaojobExecution - the parent JobExecutionstepExecutionId - the step execution idStepExecutionpublic void addStepExecutions(JobExecution jobExecution)
StepExecutionDaoStepExecution for the parent JobExecution.addStepExecutions in interface StepExecutionDaojobExecution - the parent job executionpublic void saveStepExecutions(java.util.Collection<StepExecution> stepExecutions)
StepExecutionDaosaveStepExecutions in interface StepExecutionDaostepExecutions - a collection of JobExecution instances to be saved.