Class DecisionStep

  • All Implemented Interfaces:
    Step, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

    public class DecisionStep
    extends AbstractStep
    Implements a Step 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 last StepExecutions from a split.
    Since:
    3.0
    Author:
    Michael Minella
    • Constructor Detail

      • DecisionStep

        public DecisionStep​(javax.batch.api.Decider decider)
        Parameters:
        decider - a Decider implementation
    • Method Detail

      • doExecute

        protected void doExecute​(StepExecution stepExecution)
                          throws java.lang.Exception
        Description copied from class: AbstractStep
        Extension point for subclasses to execute business logic. Subclasses should set the ExitStatus on the StepExecution before returning.
        Specified by:
        doExecute in class AbstractStep
        Parameters:
        stepExecution - the current step context
        Throws:
        java.lang.Exception - checked exception thrown by implementation