@Override public void onNewHead(FlowNode node) {
synchronized (completed) {
copyLogs();
logsToCopy.put(node.getId(), 0L);
}
node.addAction(new TimingAction());
listener.getLogger().println("Running: " + node.getDisplayName());
if (node instanceof FlowEndNode) {
finish(((FlowEndNode) node).getResult());
} else {