What are the Spring Batch “default” Context Variables?

后端 未结 3 1024
轮回少年
轮回少年 2021-01-05 04:41

In the Spring Batch step-scope documentation, there are three unexplained spring-batch context maps: jobParameters, jobExecutionContext, and

3条回答
  •  粉色の甜心
    2021-01-05 05:09

    See the documentation

    JobParameters are parameters passed in when starting the job

    The execution contexts are for your use to store whatever you want. Typically, the step execution context will contain information to allow the step to restart (for restartable jobs).

    Elements in the step execution context can be promoted to the job execution context if you want to communicate information between steps.

提交回复
热议问题