Examples of BreakLocation


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

        /**/
    }

    @Override
    public void displayResult(final TestResult result) {
        BreakLocation loc = result.getCurrentLocation();
        model.setLineNumber(loc != null ? loc.getLineNumber() : -1);
        String text = result.getResult();
        if (text == null || text.isEmpty()) {
            text = result.getErrors();
        }
        model.setDebugMessage(text);
View Full Code Here

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

                }
                return null;
            }

            private ConsoleLabelBuilder getLabelBuilder(DebugSession session) {
                BreakLocation loc = getBreakLocation(session);
                return ConsoleLabelBuilder.getBuilder(loc, itemLookup);
            }
        });
    }
View Full Code Here

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

     *
     * @param result
     *            the <code>TestResult</code> to display
     */
    public void showTestResult(TestResult result) {
        BreakLocation location = result.getCurrentLocation();
        String targetNodePath = location.getTargetNodePath();
        Node node = m_targetTreeComponent.findNode_expandTreeIfNotExist(targetNodePath);
        if (node != null) {
            showFormulaBuilder(node, result);
        }
    }
View Full Code Here

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

            }
        }

        private IntegrationEntityId getIdOfEntityToDisplay(DebugSession session, TestResult result) {
            IntegrationEntityId id = null;
            BreakLocation location = result.getCurrentLocation();
            if (location != null) {
                id = location.getIntegrationEntityId();
            } else if (session != null) {
                id = session.getDebugeeId();
            }
            return id;
        }
View Full Code Here

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

        private void displayTransformation(DebugSession session, TransformationId transId, TestResult result) {
            if (isCompletedTestTransformationOrOperation(session, result)) {
                return;
            }
            BreakLocation loc = result.getCurrentLocation();
            if (loc == null) {
                result = new MissingTargetNodePathResult(result, getTargetNodePath(session));
            } else if (loc.getTargetNodePath() == null) {
                displayMissingNodePathMessage();
                return;
            }
            TransformationTestResultDispatcher displayer = new TransformationTestResultDispatcher(view, transId, result);
            displayer.display();
View Full Code Here

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

            this.targetPath = targetPath;
        }

        @Override
        public BreakLocation getCurrentLocation() {
            BreakLocation loc = super.getCurrentLocation();
            return new BreakLocationDecorator(loc) {

                @Override
                public String getTargetNodePath() {
                    return targetPath;
View Full Code Here

Examples of org.jitterbit.integration.server.implementation.webservice.interchange.treemapper.client.BreakLocation

* @since 3.0.0
*/
final class WsBreakLocationBuilder {

    public static BreakLocation build(org.jitterbit.integration.debug.client.BreakLocation loc) {
        BreakLocation wsBreakLoc = new BreakLocation();
        IntegrationEntityId id = loc.getIntegrationEntityId();
       
        if (id instanceof ScriptId) {
            wsBreakLoc.setScriptGuid(id.toString());
        }
        else if (id instanceof TransformationId) {
            wsBreakLoc.setTransformationGuid(id.toString());
        }
        else if (id instanceof OperationId) {
            wsBreakLoc.setOperationGuid(id.toString());
        }
        wsBreakLoc.setLineNumber(loc.getLineNumber());
        wsBreakLoc.setNodePath(loc.getTargetNodePath());
        return wsBreakLoc;
    }
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.