/** * Ensure that the flow is set. * @see AbstractStep#afterPropertiesSet() */ @Override public void afterPropertiesSet() throws Exception { Assert.state(flow != null, "A Flow must be provided"); if (getName()==null) { setName(flow.getName()); } super.afterPropertiesSet(); }
/** * Build a step that executes the flow provided, normally composed of other steps. The flow is not executed in a * transaction because the individual steps are supposed to manage their own transaction state. * * @return a flow step */ public Step build() { FlowStep step = new FlowStep(); step.setName(getName()); step.setFlow(flow); super.enhance(step); try { step.afterPropertiesSet(); } catch (Exception e) { throw new StepBuilderException(e); } return step; }
/** * Ensure that the flow is set. * @see AbstractStep#afterPropertiesSet() */ @Override public void afterPropertiesSet() throws Exception { Assert.state(flow != null, "A Flow must be provided"); if (getName()==null) { setName(flow.getName()); } super.afterPropertiesSet(); }
/** * Ensure that the flow is set. * @see AbstractStep#afterPropertiesSet() */ @Override public void afterPropertiesSet() throws Exception { Assert.state(flow != null, "A Flow must be provided"); if (getName()==null) { setName(flow.getName()); } super.afterPropertiesSet(); }
/** * Ensure that the flow is set. * @see AbstractStep#afterPropertiesSet() */ @Override public void afterPropertiesSet() throws Exception { Assert.state(flow != null, "A Flow must be provided"); if (getName()==null) { setName(flow.getName()); } super.afterPropertiesSet(); }
/** * Build a step that executes the flow provided, normally composed of other steps. The flow is not executed in a * transaction because the individual steps are supposed to manage their own transaction state. * * @return a flow step */ public Step build() { FlowStep step = new FlowStep(); step.setName(getName()); step.setFlow(flow); super.enhance(step); try { step.afterPropertiesSet(); } catch (Exception e) { throw new StepBuilderException(e); } return step; }
/** * Build a step that executes the flow provided, normally composed of other steps. The flow is not executed in a * transaction because the individual steps are supposed to manage their own transaction state. * * @return a flow step */ public Step build() { FlowStep step = new FlowStep(); step.setName(getName()); step.setFlow(flow); super.enhance(step); try { step.afterPropertiesSet(); } catch (Exception e) { throw new StepBuilderException(e); } return step; }
/** * Build a step that executes the flow provided, normally composed of other steps. The flow is not executed in a * transaction because the individual steps are supposed to manage their own transaction state. * * @return a flow step */ public Step build() { FlowStep step = new FlowStep(); step.setName(getName()); step.setFlow(flow); super.enhance(step); try { step.afterPropertiesSet(); } catch (Exception e) { throw new StepBuilderException(e); } return step; }