C# Класс Summer.Batch.Core.Configuration.Support.MapStepRegistry

Simple dictionary-based implementation of IStepRegistry. Access to the dictionary is synchronized, guarded by an internal lock.
Наследование: IStepRegistry
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

GetStep() публичный Метод

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
Результат IStep

Register() публичный Метод

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
Результат void

UnregisterStepFromJob() публичный Метод

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
Результат void