Hello,
Expected Behavior
In this code
new JobBuilder("MY_JOB_NAME", jobRepository)
...
.on(ExitStatus.COMPLETED.getExitCode()).to(myNextStep)
...
.build();
add the possibility to use directly a ExitStatus type, to have:
new JobBuilder("MY_JOB_NAME", jobRepository)
...
.on(ExitStatus.COMPLETED).to(myNextStep)
...
.build();
Context
This is just a simply to use this Spring Batch class in a way that is consistent with the class Flowbuilder.
Thank you.