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