Spring Batch — Decider

In this tutorial, we'll learn how to make the use of JobExecutionDecider.  This Interface allowing for programmatic access to the decision on what the status of a flow should be. 

For example, if some condition that's stored in the database indicates that the job should stop for a manual check, a decider implementation could check that value to determine the status of the flow.