Entity

Logic

- JobInstance가 새롭게 생성되면 JobExecution도 새롭게 생성
- JobInstance가 이미 존재하는 경우 Fail일 경우에 대해서만 재실행 가능
- JobInstance가 이미 존재하는 경우 Complete일 경우에 대해서만 재실행 불가
Implement
Program arguments setting

1. step02 강제 failed 발생 시
private Step step02() {
return stepBuilderFactory.get("step02")
.tasklet((contribution, chunkContext) -> {
throw new RuntimeException("step02 has failed.");
})
.build();
}
- JobInstance가 이미 존재하는 경우 Fail일 경우에 대해서만 재실행 가능
- 재실행 가능

2. 다시 step02 정상 실행 시

