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
Afficher le fichier Open project: SummerBatch/SummerBatch

Méthodes publiques

Méthode 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 méthode

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
Résultat IStep

Register() public méthode

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
Résultat void

UnregisterStepFromJob() public méthode

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
Résultat void