Summer.Batch.Core.Job.Builder.JobBuilder Class Reference

Convenient entry point for building jobs of various kinds. More...

Inheritance diagram for Summer.Batch.Core.Job.Builder.JobBuilder:
Summer.Batch.Core.Job.Builder.JobBuilderHelper

Public Member Functions

 JobBuilder (string name)
 Custom constructor using a name. More...
 
 JobBuilder (JobBuilderHelper parent)
 Custom constructor using parent. More...
 
SimpleJobBuilder Start (IStep step)
 Creates a new job builder that will execute a step or sequence of steps. More...
 
JobFlowBuilder Start (IFlow flow)
 Creates a new job builder that will execute a flow. More...
 
JobFlowBuilder Flow (IStep step)
 Creates a new job builder that will execute a step or sequence of 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

Convenient entry point for building jobs of various kinds.

Constructor & Destructor Documentation

Summer.Batch.Core.Job.Builder.JobBuilder.JobBuilder ( string  name)

Custom constructor using a name.

Parameters
name
Summer.Batch.Core.Job.Builder.JobBuilder.JobBuilder ( JobBuilderHelper  parent)

Custom constructor using parent.

Parameters
parent

Member Function Documentation

JobFlowBuilder Summer.Batch.Core.Job.Builder.JobBuilder.Flow ( IStep  step)

Creates a new job builder that will execute a step or sequence of steps.

Parameters
step
Returns
SimpleJobBuilder Summer.Batch.Core.Job.Builder.JobBuilder.Start ( IStep  step)

Creates a new job builder that will execute a step or sequence of steps.

Parameters
step
Returns
JobFlowBuilder Summer.Batch.Core.Job.Builder.JobBuilder.Start ( IFlow  flow)

Creates a new job builder that will execute a flow.

Parameters
flow
Returns

The documentation for this class was generated from the following file:
  • Summer.Batch.Core/Core/Job/Builder/JobBuilder.cs