Summer.Batch.Core.Job.Builder.SimpleJobBuilder Class Reference
Simple job builder. More...
Inheritance diagram for Summer.Batch.Core.Job.Builder.SimpleJobBuilder:
Public Member Functions | |
SimpleJobBuilder (JobBuilderHelper parent) | |
Creates a new builder initialized with any properties in the parent. The parent is copied, so it can be re-used. More... | |
IJob | Build () |
Builds the job. More... | |
SimpleJobBuilder | Start (IStep step) |
Starts the job with this step. More... | |
FlowBuilder< FlowJobBuilder >.TransitionBuilder | On (string pattern) |
Branches into a flow conditional on the outcome of the current step. More... | |
SimpleJobBuilder | Next (IStep step) |
Continues or ends a job with this step if the previous step was successful. More... | |
JobFlowBuilder.SplitBuilder | Split (ITaskExecutor executor) |
Splits, using the given task executor. 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
Simple job builder.
Constructor & Destructor Documentation
Summer.Batch.Core.Job.Builder.SimpleJobBuilder.SimpleJobBuilder | ( | 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.SimpleJobBuilder.Build | ( | ) |
Builds the job.
- Returns
SimpleJobBuilder Summer.Batch.Core.Job.Builder.SimpleJobBuilder.Next | ( | IStep | step | ) |
Continues or ends a job with this step if the previous step was successful.
- Parameters
-
step a step to execute next
- Returns
FlowBuilder<FlowJobBuilder>.TransitionBuilder Summer.Batch.Core.Job.Builder.SimpleJobBuilder.On | ( | string | pattern | ) |
Branches into a flow conditional on the outcome of the current step.
- Parameters
-
pattern a pattern for the exit status of the current step
- Returns
JobFlowBuilder.SplitBuilder Summer.Batch.Core.Job.Builder.SimpleJobBuilder.Split | ( | ITaskExecutor | executor | ) |
Splits, using the given task executor.
- Parameters
-
executor
- Returns
SimpleJobBuilder Summer.Batch.Core.Job.Builder.SimpleJobBuilder.Start | ( | IStep | step | ) |
Starts the job with this step.
- Parameters
-
step
- Returns
The documentation for this class was generated from the following file:
- Summer.Batch.Core/Core/Job/Builder/SimpleJobBuilder.cs