public interface ExecutionContextDao
ExecutionContext
s.Modifier and Type | Method and Description |
---|---|
ExecutionContext |
getExecutionContext(JobExecution jobExecution) |
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.
|
ExecutionContext getExecutionContext(JobExecution jobExecution)
jobExecution
- JobExecution
instance that contains the context.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 StepExecution
s 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.