Summer.Batch.Core.Configuration.IStepRegistry Interface Reference
Registry keeping track of all the IStep defined in an IJob. More...
Inheritance diagram for Summer.Batch.Core.Configuration.IStepRegistry:
Public Member Functions | |
void | Register (string jobName, ICollection< IStep > steps) |
Registers all the step of the given job. If the job is already registered, the method UnregisterStepFromJob is called before registering the given steps. More... | |
void | UnregisterStepFromJob (string jobName) |
Unregisters all the steps of the given job. If the job is not registered, nothing happens. More... | |
IStep | GetStep (string jobName, string stepName) |
Returns the IStep of the specified job based on its name. More... | |
Detailed Description
Member Function Documentation
IStep Summer.Batch.Core.Configuration.IStepRegistry.GetStep | ( | string | jobName, |
string | stepName | ||
) |
Returns the IStep of the specified job based on its name.
- Parameters
-
jobName the name of the job stepName the name of the step to retrieve
- Returns
- the step with the given name belonging to the mentioned job
- Exceptions
-
NoSuchJobException no such job with that name exists NoSuchStepException no such step with that name for that job exists
Implemented in Summer.Batch.Core.Configuration.Support.MapStepRegistry.
void Summer.Batch.Core.Configuration.IStepRegistry.Register | ( | string | jobName, |
ICollection< IStep > | steps | ||
) |
Registers all the step of the given job. If the job is already registered, the method UnregisterStepFromJob is called before registering the given steps.
- Parameters
-
jobName the given job name steps the job steps
- Exceptions
-
DuplicateJobException if a job with the same job name has already been registered.
Implemented in Summer.Batch.Core.Configuration.Support.MapStepRegistry.
void Summer.Batch.Core.Configuration.IStepRegistry.UnregisterStepFromJob | ( | string | jobName | ) |
Unregisters all the steps of the given job. If the job is not registered, nothing happens.
- Parameters
-
jobName the given job name
Implemented in Summer.Batch.Core.Configuration.Support.MapStepRegistry.
The documentation for this interface was generated from the following file:
- Summer.Batch.Core/Core/Configuration/IStepRegistry.cs