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. More...
Public Member Functions | |
FlowExecutionStatus | Decide (JobExecution jobExecution, StepExecution stepExecution) |
Strategy for branching an execution based on the state of an ongoing JobExecution. The return value will be used as a status to determine the next step in the job. More... | |
Detailed Description
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.
Member Function Documentation
FlowExecutionStatus Summer.Batch.Core.Job.Flow.IJobExecutionDecider.Decide | ( | JobExecution | jobExecution, |
StepExecution | stepExecution | ||
) |
Strategy for branching an execution based on the state of an ongoing JobExecution. The return value will be used as a status to determine the next step in the job.
- Parameters
-
jobExecution a job execution stepExecution the latest step execution (may be null)
- Returns
- the exit status code
The documentation for this interface was generated from the following file:
- Summer.Batch.Core/Core/Job/Flow/IJobExecutionDecider.cs