C# Class Summer.Batch.Core.Configuration.Support.MapStepRegistry

Simple dictionary-based implementation of IStepRegistry. Access to the dictionary is synchronized, guarded by an internal lock.
Inheritance: IStepRegistry
Exibir arquivo Open project: SummerBatch/SummerBatch

Public Methods

Method Description
GetStep ( string jobName, string stepName ) : IStep

Returns the IStep of the specified job based on its name.

Register ( string jobName, ICollection steps ) : void

Registers all the step of the given job. If the job is already registered, the method UnregisterStepFromJob is called before registering the given steps.

UnregisterStepFromJob ( string jobName ) : void

Unregisters all the steps of the given job. If the job is not registered, nothing happens.

Method Details

GetStep() public method

Returns the IStep of the specified job based on its name.
  no such job with that name exists   no such step with that name for that job exists
public GetStep ( string jobName, string stepName ) : IStep
jobName string the name of the job
stepName string the name of the step to retrieve
return IStep

Register() public method

Registers all the step of the given job. If the job is already registered, the method UnregisterStepFromJob is called before registering the given steps.
  if a job with the same job name has already been registered.
public Register ( string jobName, ICollection steps ) : void
jobName string the given job name
steps ICollection the job steps
return void

UnregisterStepFromJob() public method

Unregisters all the steps of the given job. If the job is not registered, nothing happens.
public UnregisterStepFromJob ( string jobName ) : void
jobName string the given job name
return void