public interface JobExecutionDecider
| Modifier and Type | Method and Description |
|---|---|
FlowExecutionStatus |
decide(JobExecution jobExecution,
StepExecution stepExecution)
Strategy for branching an execution based on the state of an ongoing
JobExecution. |
FlowExecutionStatus decide(JobExecution jobExecution, @Nullable StepExecution stepExecution)
JobExecution. The return value will be used as a status to
determine the next step in the job.jobExecution - a job executionstepExecution - the latest step execution (may be null)