public class ExecutionContextTestUtils
extends java.lang.Object
ExecutionContext
values from job and
step executions.Constructor and Description |
---|
ExecutionContextTestUtils() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
getValueFromJob(JobExecution jobExecution,
java.lang.String key) |
static <T> T |
getValueFromStep(StepExecution stepExecution,
java.lang.String key) |
static <T> T |
getValueFromStepInJob(JobExecution jobExecution,
java.lang.String stepName,
java.lang.String key) |
@Nullable public static <T> T getValueFromJob(JobExecution jobExecution, java.lang.String key)
@Nullable public static <T> T getValueFromStepInJob(JobExecution jobExecution, java.lang.String stepName, java.lang.String key)
@Nullable public static <T> T getValueFromStep(StepExecution stepExecution, java.lang.String key)