public class DelegateStep extends AbstractStep
Step, delegating execution to it,
but serving all other operations locally.STEP_TYPE_KEY| Constructor and Description |
|---|
DelegateStep() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Check mandatory properties (delegate).
|
protected void |
doExecute(StepExecution stepExecution)
Extension point for subclasses to execute business logic.
|
void |
setDelegate(Step delegate) |
close, doExecutionRegistration, doExecutionRelease, execute, getCompositeListener, getJobRepository, getName, getStartLimit, isAllowStartIfComplete, open, registerStepExecutionListener, setAllowStartIfComplete, setBeanName, setJobRepository, setName, setStartLimit, setStepExecutionListeners, toStringpublic void setDelegate(Step delegate)
delegate - the delegate to setpublic void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class AbstractStepjava.lang.Exceptionprotected void doExecute(StepExecution stepExecution) throws java.lang.Exception
AbstractStepExitStatus on the
StepExecution before returning.doExecute in class AbstractStepstepExecution - the current step contextjava.lang.Exception - checked exception thrown by implementation