Summer.Batch.Core.Job.Builder.FlowJobBuilder Class Reference
A job builder for FlowJob instances. A flow job delegates processing to a nested flow composed of steps and conditional transitions between steps. More...
Inheritance diagram for Summer.Batch.Core.Job.Builder.FlowJobBuilder:
Public Member Functions | |
FlowJobBuilder (JobBuilderHelper parent) | |
Creates a new builder initialized with any properties in the parent. The parent is copied, so it can be re-used. More... | |
JobFlowBuilder | Start (IFlow flow) |
Starts a job with this flow, but expect to transition from there to other flows or steps. More... | |
JobFlowBuilder | Start (IStep step) |
Starts a job with this step, but expect to transition from there to other flows or steps. More... | |
FlowJobBuilder | Flow (IFlow flow) |
Provides a single flow to execute as the job. More... | |
IJob | Build () |
Builds a job that executes the flow provided, normally composed of other steps. More... | |
Public Member Functions inherited from Summer.Batch.Core.Job.Builder.JobBuilderHelper | |
JobBuilderHelper | Repository (IJobRepository jobRepository) |
Sets the job repository for the job. More... | |
JobBuilderHelper | Incrementer (IJobParametersIncrementer jobParametersIncrementer) |
Add a job parameters incrementer. More... | |
JobBuilderHelper | Validator (IJobParametersValidator jobParametersValidator) |
Add a job parameters validator. More... | |
JobBuilderHelper | Listener (IJobExecutionListener listener) |
Register a job execution listener. More... | |
JobBuilderHelper | PreventRestart () |
Set a flag to prevent restart an execution of this job even if it has failed. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Summer.Batch.Core.Job.Builder.JobBuilderHelper | |
JobBuilderHelper (string name) | |
Custom constructor using a name. More... | |
JobBuilderHelper (JobBuilderHelper parent) | |
Create a new builder initialized with any properties in the parent. The parent is copied, so it can be re-used More... | |
IJobRepository | GetJobRepository () |
Returns the job repository. More... | |
bool | IsRestartable () |
Returns the restartable flag. More... | |
void | Enhance (IJob target) |
Enhances the given job with incrementer, validator and job execution listeners, if provided. More... | |
Protected Attributes inherited from Summer.Batch.Core.Job.Builder.JobBuilderHelper | |
readonly Logger | Logger = LogManager.GetCurrentClassLogger() |
Logger More... | |
readonly CommonJobProperties | Properties |
Common job properties. More... | |
Detailed Description
A job builder for FlowJob instances. A flow job delegates processing to a nested flow composed of steps and conditional transitions between steps.
Constructor & Destructor Documentation
Summer.Batch.Core.Job.Builder.FlowJobBuilder.FlowJobBuilder | ( | JobBuilderHelper | parent | ) |
Creates a new builder initialized with any properties in the parent. The parent is copied, so it can be re-used.
- Parameters
-
parent
Member Function Documentation
IJob Summer.Batch.Core.Job.Builder.FlowJobBuilder.Build | ( | ) |
Builds a job that executes the flow provided, normally composed of other steps.
- Returns
FlowJobBuilder Summer.Batch.Core.Job.Builder.FlowJobBuilder.Flow | ( | IFlow | flow | ) |
Provides a single flow to execute as the job.
- Parameters
-
flow
- Returns
JobFlowBuilder Summer.Batch.Core.Job.Builder.FlowJobBuilder.Start | ( | IFlow | flow | ) |
Starts a job with this flow, but expect to transition from there to other flows or steps.
- Parameters
-
flow
- Returns
JobFlowBuilder Summer.Batch.Core.Job.Builder.FlowJobBuilder.Start | ( | IStep | step | ) |
Starts a job with this step, but expect to transition from there to other flows or steps.
- Parameters
-
step
- Returns
The documentation for this class was generated from the following file:
- Summer.Batch.Core/Core/Job/Builder/FlowJobBuilder.cs