Examples of TargetNode


Examples of org.jitterbit.integration.debug.client.TargetNode

        params.setCommand("Run");
        return params;
    }

    protected static final String getTargetNodePath(DebugSession session) {
        TargetNode node = session.getTargetNode();
        return (node == null) ? null : node.getPath();
    }
View Full Code Here

Examples of org.jitterbit.integration.debug.client.TargetNode

        // of name-value pairs. (The global data elements are sent as DataElements. The
        // reason source data elements are treated differently is because of the backend
        // implementation.)
        String nameValuePairs = DataElementUtils.toNameValuePairString(
                        debugSession.getParams().getDataElements(), DataElementScope.SOURCE);
        TargetNode node = debugSession.getTargetNode();
        String targetTypeInfo = (node == null) ? "" : node.encode();
        return ClientServerCommunicationUtils.encodeString(nameValuePairs+targetTypeInfo);
    }
View Full Code Here

Examples of org.jitterbit.integration.debug.client.TargetNode

    public void setNodeMappingToDisplay(String targetDE, String expression) {
        exprSource = new TransformationExpressionSource(treeMapper.getTransformation(), new NodePath(targetDE));
        expressionParser = createExpressionParser();
        scriptModel.setSource(exprSource);
        TargetNode targetNode = getTargetNode(targetDE);
        scriptBuilder.getDebugUi().getModel().setTargetNode(targetNode);
        expressionScanner.uninstall(getExpressionArea().getTextPane());
        scriptBuilder.setExpression(checkEmptyExpression(expression));
        expressionScanner = createExpressionScanner();
    }
View Full Code Here

Examples of org.jitterbit.integration.debug.client.TargetNode

        return createTargetNode(node);
    }

    private TargetNode createTargetNode(Node node) {
        CROM crom = node.getCROM();
        return new TargetNode(node.m_deName, crom.getValueType(), crom.getSqlDataType(), crom.getFormat());
    }
View Full Code Here

Examples of org.jitterbit.integration.debug.client.TargetNode

        }
        return label;
    }

    private static JLabel createDetails(DebugSession session) {
        TargetNode targetNode = session.getTargetNode();
        if (targetNode == null) {
            return null;
        }
        // TODO: Truncate (from the beginning) if the node path is > X characters long.
        return new JLabel(targetNode.getPath());
    }
View Full Code Here

Examples of org.jitterbit.integration.debug.client.TargetNode

            TransformationTestResultDispatcher displayer = new TransformationTestResultDispatcher(view, transId, result);
            displayer.display();
        }

        private String getTargetNodePath(DebugSession session) {
            TargetNode node = session.getTargetNode();
            return (node == null) ? null : node.getPath();
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.