/** * Transition to the next step on successful completion of the current step. All other outcomes are treated as * failures. * * @param step the next step * @return this to enable chaining */ public FlowBuilder<Q> next(Step step) { doNext(step); return this; }
/** * Go next on successful completion to a subflow. * * @param flow the flow to go to * @return a builder to enable chaining */ public FlowBuilder<Q> next(Flow flow) { doNext(flow); return this; }
/** * Transition to the decider on successful completion of the current step. All other outcomes are treated as * failures. * * @param decider the JobExecutionDecider to determine the next step to execute * @return this to enable chaining */ public UnterminatedFlowBuilder<Q> next(JobExecutionDecider decider) { doNext(decider); return new UnterminatedFlowBuilder<>(this); }
/** * Transition to the next step on successful completion of the current step. All other outcomes are treated as * failures. * * @param step the next step * @return this to enable chaining */ public FlowBuilder<Q> next(Step step) { doNext(step); return this; }
/** * Transition to the next step on successful completion of the current step. All other outcomes are treated as * failures. * * @param step the next step * @return this to enable chaining */ public FlowBuilder<Q> next(Step step) { doNext(step); return this; }
/** * Go next on successful completion to a subflow. * * @param flow the flow to go to * @return a builder to enable chaining */ public FlowBuilder<Q> next(Flow flow) { doNext(flow); return this; }
/** * Go next on successful completion to a subflow. * * @param flow the flow to go to * @return a builder to enable chaining */ public FlowBuilder<Q> next(Flow flow) { doNext(flow); return this; }
/** * Go next on successful completion to a subflow. * * @param flow the flow to go to * @return a builder to enable chaining */ public FlowBuilder<Q> next(Flow flow) { doNext(flow); return this; }
/** * Transition to the next step on successful completion of the current step. All other outcomes are treated as * failures. * * @param step the next step * @return this to enable chaining */ public FlowBuilder<Q> next(Step step) { doNext(step); return this; }
/** * Transition to the decider on successful completion of the current step. All other outcomes are treated as * failures. * * @param decider the JobExecutionDecider to determine the next step to execute * @return this to enable chaining */ public UnterminatedFlowBuilder<Q> next(JobExecutionDecider decider) { doNext(decider); return new UnterminatedFlowBuilder<Q>(this); }
/** * Transition to the decider on successful completion of the current step. All other outcomes are treated as * failures. * * @param decider the JobExecutionDecider to determine the next step to execute * @return this to enable chaining */ public UnterminatedFlowBuilder<Q> next(JobExecutionDecider decider) { doNext(decider); return new UnterminatedFlowBuilder<Q>(this); }
/** * Transition to the decider on successful completion of the current step. All other outcomes are treated as * failures. * * @param decider the JobExecutionDecider to determine the next step to execute * @return this to enable chaining */ public UnterminatedFlowBuilder<Q> next(JobExecutionDecider decider) { doNext(decider); return new UnterminatedFlowBuilder<Q>(this); }