|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StepRegistry
Registry keeping track of all the Step defined in a
Job.
| Method Summary | |
|---|---|
Step |
getStep(String jobName,
String stepName)
Returns the Step of the specified job based on its name. |
void |
register(String jobName,
Collection<Step> steps)
Registers all the step of the given job. |
void |
unregisterStepsFromJob(String jobName)
Unregisters all the steps of the given job. |
| Method Detail |
|---|
void register(String jobName,
Collection<Step> steps)
throws DuplicateJobException
unregisterStepsFromJob(String) is called before registering
the given steps.
jobName - the give job namesteps - the job steps
DuplicateJobException - if a job with the same job name has already been registered.void unregisterStepsFromJob(String jobName)
jobName - the given job name
Step getStep(String jobName,
String stepName)
throws NoSuchJobException,
NoSuchStepException
Step of the specified job based on its name.
jobName - the name of the jobstepName - the name of the step to retrieve
NoSuchJobException - no such job with that name exists
NoSuchStepException - no such step with that name for that job exists
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||