Summer.Batch.Core.Job.IStepHandler Interface Reference
Strategy interface for handling an IStep on behalf of a IJob. More...
Inheritance diagram for Summer.Batch.Core.Job.IStepHandler:
Public Member Functions | |
StepExecution | HandleStep (IStep step, JobExecution jobExecution) |
Handles a step and returns the execution for it. Does not save the JobExecution, but should manage the persistence of the StepExecution if required (e.g. at least it needs to be added to a repository before the step can be executed). More... | |
Detailed Description
Member Function Documentation
StepExecution Summer.Batch.Core.Job.IStepHandler.HandleStep | ( | IStep | step, |
JobExecution | jobExecution | ||
) |
Handles a step and returns the execution for it. Does not save the JobExecution, but should manage the persistence of the StepExecution if required (e.g. at least it needs to be added to a repository before the step can be executed).
- Parameters
-
step a step jobExecution a job execution
- Returns
- Exceptions
-
JobInterruptedException if there is an interruption JobRestartException if there is a problem restarting a failed step StartLimitExceededException if the step exceeds its start limit
Implemented in Summer.Batch.Core.Job.SimpleStepHandler.
The documentation for this interface was generated from the following file:
- Summer.Batch.Core/Core/Job/IStepHandler.cs