|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.admin.service.JobLocatorStepLocator
public class JobLocatorStepLocator
| Constructor Summary | |
|---|---|
JobLocatorStepLocator()
Convenience constructor for declarative configuration. |
|
JobLocatorStepLocator(ListableJobLocator jobLocator)
Create an instance from this JobLocator. |
|
| Method Summary | |
|---|---|
Step |
getStep(String path)
Locate a step by referencing it through its parent job with a separator, e.g. |
Collection<String> |
getStepNames()
Loop through all the jobs and pull out their step names. |
void |
setJobLocator(ListableJobLocator jobLocator)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JobLocatorStepLocator(ListableJobLocator jobLocator)
JobLocator.
jobLocator - a JobLocatorpublic JobLocatorStepLocator()
| Method Detail |
|---|
public void setJobLocator(ListableJobLocator jobLocator)
jobLocator - the jobLocator to set
public Step getStep(String path)
throws NoSuchStepException
job-name/step-name. The separator defaults to a forward
slash.
getStep in interface StepLocatorNoSuchStepExceptionStepLocator.getStep(String)public Collection<String> getStepNames()
getStep(String) (i.e.
with a separator).
getStepNames in interface StepLocatorStepLocator.getStepNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||