return createJobExecutionInstance(jobName, jobParameters);
}
public void update(JobExecution jobExecution) {
BatchStatus status = jobExecution.getStatus();
JobInstance instance = jobExecution.getJobInstance();
String jobName = instance.getJobName();
if (BatchStatus.STARTING.equals(status)) {
Assert.assertNull("Multiple executions for job=" + jobName, execsMap.put(jobName, jobExecution));
} else if (BatchStatus.COMPLETED.equals(status)
|| BatchStatus.ABANDONED.equals(status)
|| BatchStatus.FAILED.equals(status)) {