Class ExecutionContextTestUtils
java.lang.Object
org.springframework.batch.test.ExecutionContextTestUtils
Convenience class for accessing
ExecutionContext values from job and step
executions.- Since:
- 2.1.4
- Author:
- Dave Syer, Mahmoud Ben Hassine, Taeik Lim
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> @Nullable TgetValueFromJob(org.springframework.batch.core.job.JobExecution jobExecution, String key) static <T> @Nullable TgetValueFromStep(org.springframework.batch.core.step.StepExecution stepExecution, String key) static <T> @Nullable TgetValueFromStepInJob(org.springframework.batch.core.job.JobExecution jobExecution, String stepName, String key)
-
Method Details