/** * Start again from a subflow that was already registered. * * @param flow the flow to start from (already registered) * @return a builder to enable chaining */ public FlowBuilder<Q> from(Flow flow) { doFrom(flow); return this; }
/** * Go back to a previously registered step and start a new path. If no steps are registered yet just a synonym for * {@link #start(Step)}. * * @param step the step to start from (already registered) * @return this to enable chaining */ public FlowBuilder<Q> from(Step step) { doFrom(step); return this; }
/** * Start again from a decision that was already registered. * * @param decider the decider to start from (already registered) * @return a builder to enable chaining */ public UnterminatedFlowBuilder<Q> from(JobExecutionDecider decider) { doFrom(decider); return new UnterminatedFlowBuilder<>(this); }
private void doStart(Object input) { if (this.currentState != null) { doFrom(input); } this.currentState = createState(input); }
/** * Go back to a previously registered step and start a new path. If no steps are registered yet just a synonym for * {@link #start(Step)}. * * @param step the step to start from (already registered) * @return this to enable chaining */ public FlowBuilder<Q> from(Step step) { doFrom(step); return this; }
/** * Start again from a subflow that was already registered. * * @param flow the flow to start from (already registered) * @return a builder to enable chaining */ public FlowBuilder<Q> from(Flow flow) { doFrom(flow); return this; }
/** * Start again from a subflow that was already registered. * * @param flow the flow to start from (already registered) * @return a builder to enable chaining */ public FlowBuilder<Q> from(Flow flow) { doFrom(flow); return this; }
/** * Go back to a previously registered step and start a new path. If no steps are registered yet just a synonym for * {@link #start(Step)}. * * @param step the step to start from (already registered) * @return this to enable chaining */ public FlowBuilder<Q> from(Step step) { doFrom(step); return this; }
/** * Start again from a subflow that was already registered. * * @param flow the flow to start from (already registered) * @return a builder to enable chaining */ public FlowBuilder<Q> from(Flow flow) { doFrom(flow); return this; }
/** * Go back to a previously registered step and start a new path. If no steps are registered yet just a synonym for * {@link #start(Step)}. * * @param step the step to start from (already registered) * @return this to enable chaining */ public FlowBuilder<Q> from(Step step) { doFrom(step); return this; }
/** * Start again from a decision that was already registered. * * @param decider the decider to start from (already registered) * @return a builder to enable chaining */ public UnterminatedFlowBuilder<Q> from(JobExecutionDecider decider) { doFrom(decider); return new UnterminatedFlowBuilder<Q>(this); }
private void doStart(Object input) { if (this.currentState != null) { doFrom(input); } this.currentState = createState(input); }
/** * Start again from a decision that was already registered. * * @param decider the decider to start from (already registered) * @return a builder to enable chaining */ public UnterminatedFlowBuilder<Q> from(JobExecutionDecider decider) { doFrom(decider); return new UnterminatedFlowBuilder<Q>(this); }
/** * Start again from a decision that was already registered. * * @param decider the decider to start from (already registered) * @return a builder to enable chaining */ public UnterminatedFlowBuilder<Q> from(JobExecutionDecider decider) { doFrom(decider); return new UnterminatedFlowBuilder<Q>(this); }
private void doStart(Object input) { if (this.currentState != null) { doFrom(input); } this.currentState = createState(input); }
private void doStart(Object input) { if (this.currentState != null) { doFrom(input); } this.currentState = createState(input); }