- public void dispatchAddStep(SlcExecutionStep step) {
- processThread.getSlcProcess().getSteps().add(step);
- List<SlcExecutionStep> steps = new ArrayList<SlcExecutionStep>();
- steps.add(step);
- for (Iterator<SlcExecutionNotifier> it = processThread
- .getExecutionModulesManager().getSlcExecutionNotifiers()
- .iterator(); it.hasNext();) {
- it.next().addSteps(processThread.getSlcProcess(), steps);
- }
+ public void dispatchAddStep(ExecutionStep step) {
+ // ExecutionProcess slcProcess = processThread.getProcess();
+ // List<ExecutionStep> steps = new ArrayList<ExecutionStep>();
+ // steps.add(step);
+ // TODO clarify why we don't dispatch steps, must be a reason
+ // dispatchAddSteps(steps);
+ // slcProcess.addSteps(steps);
+ if (step.getType().equals(ExecutionStep.ERROR))
+ hadAnError = true;
+ this.steps.add(step);