Package org.jitterbit.integration.server.implementation.webservice.interchange.treemapper.client

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

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

Copyright © 2018 www.massapicom. 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.