- //
- // // ExecutionModulesContentProvider.FlowNode flowNode =
- // (ExecutionModulesContentProvider.FlowNode) selection
- // // .getFirstElement();
- // //
- // // Properties props = new Properties();
- // // flowNodeAsProperties(props, flowNode);
- // // props.setProperty("agentId", flowNode
- // // .getExecutionModuleNode().getAgentNode().getAgent()
- // // .getAgentUuid());
- // // props.setProperty("host",
- // flowNode.getExecutionModuleNode()
- // // .getAgentNode().getAgent().toString());
- // //
- // // ByteArrayOutputStream out = new
- // ByteArrayOutputStream();
- // // try {
- // // props.store(out, "");
- // // event.data = new String(out.toByteArray());
- // // } catch (IOException e) {
- // // throw new SlcException(
- // // "Cannot transform realized flow", e);
- // // } finally {
- // // IOUtils.closeQuietly(out);
- // // }