类 DecisionStep
- java.lang.Object
- org.springframework.batch.core.step.AbstractStep
- org.springframework.batch.core.jsr.step.DecisionStep
- 所有已实现的接口:
Step
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.InitializingBean
public class DecisionStep extends AbstractStep
Implements aStep
to follow the rules for a decision state as defined by JSR-352. Currently does not support the JSR requirement to provide all of the lastStepExecution
s from a split.- 从以下版本开始:
- 3.0
- 作者:
- Michael Minella
字段概要
从接口继承的字段 org.springframework.batch.core.Step
STEP_TYPE_KEY
构造器概要
构造器 构造器 说明 DecisionStep(javax.batch.api.Decider decider)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected void
doExecute(StepExecution stepExecution)
Extension point for subclasses to execute business logic.从类继承的方法 org.springframework.batch.core.step.AbstractStep
afterPropertiesSet, close, doExecutionRegistration, doExecutionRelease, execute, getCompositeListener, getJobRepository, getName, getStartLimit, isAllowStartIfComplete, open, registerStepExecutionListener, setAllowStartIfComplete, setBeanName, setJobRepository, setName, setStartLimit, setStepExecutionListeners, toString
构造器详细资料
DecisionStep
public DecisionStep(javax.batch.api.Decider decider)
- 参数:
decider
- aDecider
implementation
方法详细资料
doExecute
protected void doExecute(StepExecution stepExecution) throws java.lang.Exception
从类复制的说明:AbstractStep
Extension point for subclasses to execute business logic. Subclasses should set theExitStatus
on theStepExecution
before returning.- 指定者:
doExecute
在类中AbstractStep
- 参数:
stepExecution
- the current step context- 抛出:
java.lang.Exception
- checked exception thrown by implementation