クラス ExecutionContextTestUtils

java.lang.ObjectSE
org.springframework.batch.test.ExecutionContextTestUtils

public class ExecutionContextTestUtils extends ObjectSE
ジョブおよびステップの実行から ExecutionContext 値にアクセスするための便利なクラス。
導入:
2.1.4
作成者:
Dave Syer, Mahmoud Ben Hassine
  • コンストラクターの詳細

    • ExecutionContextTestUtils

      public ExecutionContextTestUtils()
  • メソッドの詳細

    • getValueFromJob

      @Nullable public static <T> T getValueFromJob(JobExecution jobExecution, StringSE key)
    • getValueFromStepInJob

      @Nullable public static <T> T getValueFromStepInJob(JobExecution jobExecution, StringSE stepName, StringSE key)
    • getValueFromStep

      @Nullable public static <T> T getValueFromStep(StepExecution stepExecution, StringSE key)