public NodeView(GraphNode node, Locale locale) { this.x = Integer.parseInt((String) node.getDocument().getPropertyValue(GraphNode.PROP_NODE_X_COORDINATE)); this.y = Integer.parseInt((String) node.getDocument().getPropertyValue(GraphNode.PROP_NODE_Y_COORDINATE)); this.isStartNode = node.isStart(); this.isEndNode = node.isStop(); this.id = node.getId(); String titleProp = (String) node.getDocument().getPropertyValue(GraphNode.PROP_TITLE); this.title = JsonGraphRoute.getI18nLabel(titleProp, locale); this.state = node.getDocument().getCurrentLifeCycleState(); this.isMerge = node.isMerge(); this.isMultiTask = node.hasMultipleTasks(); this.hasSubWorkflow = node.hasSubRoute(); }
case READY: log.debug("Doing node " + node); if (node.isMerge()) { jump = State.WAITING; } else {