public interface ExecutionContextDao
ExecutionContexts.| Modifier and Type | Method and Description |
|---|---|
org.springframework.batch.item.ExecutionContext |
getExecutionContext(JobExecution jobExecution) |
org.springframework.batch.item.ExecutionContext |
getExecutionContext(StepExecution stepExecution) |
void |
saveExecutionContext(JobExecution jobExecution)
Persist the execution context associated with the given jobExecution,
persistent entry for the context should not exist yet.
|
void |
saveExecutionContext(StepExecution stepExecution)
Persist the execution context associated with the given stepExecution,
persistent entry for the context should not exist yet.
|
void |
saveExecutionContexts(java.util.Collection<StepExecution> stepExecutions)
Persist the execution context associated with each stepExecution in a given collection,
persistent entry for the context should not exist yet.
|
void |
updateExecutionContext(JobExecution jobExecution)
Persist the updates of execution context associated with the given
jobExecution.
|
void |
updateExecutionContext(StepExecution stepExecution)
Persist the updates of execution context associated with the given
stepExecution.
|
org.springframework.batch.item.ExecutionContext getExecutionContext(JobExecution jobExecution)
jobExecution - JobExecution instance that contains the context.org.springframework.batch.item.ExecutionContext getExecutionContext(StepExecution stepExecution)
stepExecution - StepExecution instance that contains the context.void saveExecutionContext(JobExecution jobExecution)
jobExecution - JobExecution instance that contains the context.void saveExecutionContext(StepExecution stepExecution)
stepExecution - StepExecution instance that contains the context.void saveExecutionContexts(java.util.Collection<StepExecution> stepExecutions)
stepExecutions - a collection of StepExecutions that contain
the contexts.void updateExecutionContext(JobExecution jobExecution)
jobExecution - JobExecution instance that contains the context.void updateExecutionContext(StepExecution stepExecution)
stepExecution - StepExecution instance that contains the context.