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)
StepExecutionDao
saveStepExecution
in interface StepExecutionDao
stepExecution
- StepExecution
instance to be saved.public void updateStepExecution(StepExecution stepExecution)
StepExecutionDao
updateStepExecution
in interface StepExecutionDao
stepExecution
- StepExecution
instance to be updated.@Nullable public StepExecution getStepExecution(JobExecution jobExecution, java.lang.Long stepExecutionId)
StepExecutionDao
StepExecution
from its id.getStepExecution
in interface StepExecutionDao
jobExecution
- the parent JobExecution
stepExecutionId
- the step execution idStepExecution
public void addStepExecutions(JobExecution jobExecution)
StepExecutionDao
StepExecution
for the parent JobExecution
.addStepExecutions
in interface StepExecutionDao
jobExecution
- the parent job executionpublic void saveStepExecutions(java.util.Collection<StepExecution> stepExecutions)
StepExecutionDao
saveStepExecutions
in interface StepExecutionDao
stepExecutions
- a collection of JobExecution
instances to be saved.