|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.sample.tasklet.StepSupport
public class StepSupport
Basic no-op support implementation for use as base class for Step. Implements BeanNameAware so that
if no name is provided explicitly it will be inferred from the bean definition in Spring configuration.
| Constructor Summary | |
|---|---|
StepSupport()
Default constructor for StepSupport. |
|
StepSupport(String string)
|
|
| Method Summary | |
|---|---|
void |
execute(StepExecution stepExecution)
Not supported but provided so that tests can easily create a step. |
String |
getName()
|
int |
getStartLimit()
|
boolean |
isAllowStartIfComplete()
|
void |
setAllowStartIfComplete(boolean allowStartIfComplete)
Public setter for the shouldAllowStartIfComplete. |
void |
setBeanName(String name)
Set the name property if it is not already set. |
void |
setName(String name)
Set the name property. |
void |
setStartLimit(int startLimit)
Public setter for the startLimit. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StepSupport()
StepSupport.
public StepSupport(String string)
string - | Method Detail |
|---|
public String getName()
getName in interface Steppublic void setBeanName(String name)
setBeanName in interface BeanNameAwareBeanNameAware.setBeanName(java.lang.String)public void setName(String name)
setBeanName(java.lang.String)public int getStartLimit()
getStartLimit in interface Steppublic void setStartLimit(int startLimit)
startLimit - the startLimit to setpublic boolean isAllowStartIfComplete()
isAllowStartIfComplete in interface Steppublic void setAllowStartIfComplete(boolean allowStartIfComplete)
allowStartIfComplete - the shouldAllowStartIfComplete to set
public void execute(StepExecution stepExecution)
throws JobInterruptedException,
UnexpectedJobExecutionException
execute in interface StepUnsupportedOperationException - always
JobInterruptedException
UnexpectedJobExecutionExceptionStep.execute(org.springframework.batch.core.StepExecution)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||