/** * Stop the flow and provide a decider to start with if the flow is restarted. * * @param decider a decider to restart with * @return a FlowBuilder */ public FlowBuilder<Q> stopAndRestart(JobExecutionDecider decider) { State next = parent.createState(decider); parent.stop(pattern, next); return parent; }
/** * Signal the successful end of the flow. * * @return a FlowBuilder */ public FlowBuilder<Q> stop() { parent.stop(pattern); return parent; }
/** * Stop the flow and provide a flow to start with if the flow is restarted. * * @param flow the flow to restart with * @return a FlowBuilder */ public FlowBuilder<Q> stopAndRestart(Flow flow) { State next = parent.createState(flow); parent.stop(pattern, next); return parent; }
/** * Stop the flow and provide a step to start with if the flow is restarted. * * @param restart the step to restart with * @return a FlowBuilder */ public FlowBuilder<Q> stopAndRestart(Step restart) { State next = parent.createState(restart); parent.stop(pattern, next); return parent; }
/** * Signal the successful end of the flow. * * @return a FlowBuilder */ public FlowBuilder<Q> stop() { parent.stop(pattern); return parent; }
/** * Stop the flow and provide a flow to start with if the flow is restarted. * * @param flow the flow to restart with * @return a FlowBuilder */ public FlowBuilder<Q> stopAndRestart(Flow flow) { State next = parent.createState(flow); parent.stop(pattern, next); return parent; }
/** * Stop the flow and provide a step to start with if the flow is restarted. * * @param restart the step to restart with * @return a FlowBuilder */ public FlowBuilder<Q> stopAndRestart(Step restart) { State next = parent.createState(restart); parent.stop(pattern, next); return parent; }
/** * Stop the flow and provide a flow to start with if the flow is restarted. * * @param flow the flow to restart with * @return a FlowBuilder */ public FlowBuilder<Q> stopAndRestart(Flow flow) { State next = parent.createState(flow); parent.stop(pattern, next); return parent; }
/** * Stop the flow and provide a decider to start with if the flow is restarted. * * @param decider a decider to restart with * @return a FlowBuilder */ public FlowBuilder<Q> stopAndRestart(JobExecutionDecider decider) { State next = parent.createState(decider); parent.stop(pattern, next); return parent; }
/** * Stop the flow and provide a step to start with if the flow is restarted. * * @param restart the step to restart with * @return a FlowBuilder */ public FlowBuilder<Q> stopAndRestart(Step restart) { State next = parent.createState(restart); parent.stop(pattern, next); return parent; }
/** * Stop the flow and provide a decider to start with if the flow is restarted. * * @param decider a decider to restart with * @return a FlowBuilder */ public FlowBuilder<Q> stopAndRestart(JobExecutionDecider decider) { State next = parent.createState(decider); parent.stop(pattern, next); return parent; }
/** * Signal the successful end of the flow. * * @return a FlowBuilder */ public FlowBuilder<Q> stop() { parent.stop(pattern); return parent; }
/** * Stop the flow and provide a flow to start with if the flow is restarted. * * @param flow the flow to restart with * @return a FlowBuilder */ public FlowBuilder<Q> stopAndRestart(Flow flow) { State next = parent.createState(flow); parent.stop(pattern, next); return parent; }
/** * Signal the successful end of the flow. * * @return a FlowBuilder */ public FlowBuilder<Q> stop() { parent.stop(pattern); return parent; }
/** * Stop the flow and provide a decider to start with if the flow is restarted. * * @param decider a decider to restart with * @return a FlowBuilder */ public FlowBuilder<Q> stopAndRestart(JobExecutionDecider decider) { State next = parent.createState(decider); parent.stop(pattern, next); return parent; }
/** * Stop the flow and provide a step to start with if the flow is restarted. * * @param restart the step to restart with * @return a FlowBuilder */ public FlowBuilder<Q> stopAndRestart(Step restart) { State next = parent.createState(restart); parent.stop(pattern, next); return parent; }