org.springframework.batch.test
Class ExecutionContextTestUtils
java.lang.Object
org.springframework.batch.test.ExecutionContextTestUtils
public class ExecutionContextTestUtils
- extends java.lang.Object
Convenience class for accessing ExecutionContext values from job and
step executions.
- Since:
- 2.1.4
- Author:
- Dave Syer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecutionContextTestUtils
public ExecutionContextTestUtils()
getValueFromJob
public static <T> T getValueFromJob(JobExecution jobExecution,
java.lang.String key)
getValueFromStepInJob
public static <T> T getValueFromStepInJob(JobExecution jobExecution,
java.lang.String stepName,
java.lang.String key)
getValueFromStep
public static <T> T getValueFromStep(StepExecution stepExecution,
java.lang.String key)
Copyright © 2011. All Rights Reserved.