Reputation: 85
I'm working on a requirement that defines a job/execution unit as a list of ordered steps which are themselves defined as a list of ordered substeps/phases. This job can be started beginning at any of the first-level steps, potentially ignoring the N-th first steps (and their substeps/phases).
What would be the best strategy for implementing this with spring batch ?
Cheers
Upvotes: 1
Views: 567
Reputation: 18403
A way to programmatically branching job execution (eg. skip step) is to use a JobExecutionDecider.
Upvotes: 1