// this.interpreter.handleWSComponent(whileNode);
}
}
// WS node should be done
dowhilenode.setState(NodeExecutionState.FINISHED);
EndDoWhileNode endDoWhileNode = this.dowhilenode.getEndDoWhileNode();
// /////////////////////////////////////////////////////////
// // Do WHile finished execution thus we can set the //////
// //inputs to the EndDOWHile and resume the executions/////
SystemComponentInvoker invoker = new SystemComponentInvoker();
List<DataPort> inputports = endDoWhileNode.getInputPorts();
for (int inputPortIndex = 0; inputPortIndex < inputports.size(); inputPortIndex++) {
Object inputVal = dowhileinvoker.getOutput(inputports.get(inputPortIndex).getFromPort().getID());
invoker.addOutput(endDoWhileNode.getOutputPort(inputPortIndex).getID(), inputVal);
}
this.invokerMap.put(endDoWhileNode, invoker);
// TODO send mail once the iterations have converged
endDoWhileNode.setState(NodeExecutionState.FINISHED);
this.threadExecutor.shutdown();
return true;
}