Package org.jitterbit.integration.debug.client.file

Examples of org.jitterbit.integration.debug.client.file.SourceDataIdentifier


    public DataFilesInfo storeSourceData(LoadSourceDataResult result) {
        checkLoadSourceDataResult(result);
        DataFilesInfo info;
        KongaGuid guid = null;
        if (result != null) {
            SourceDataIdentifier identifier = result.getIdentifier();
            guid = identifier.getGuid();
            DataFilesInfoBuilder infoBuilder = new DataFilesInfoBuilder(identifier.getServerInfo());
            info = infoBuilder.buildForLoadSource(guid, result.getTransformationId());
        } else {
            info = null;
        }
        synchronized (this) {
View Full Code Here


                // having changed a mapping), we really need to use that chunk number in order
                // for the displayed result to make sense.
                OperationId opId = info.getOperationId();
                DataFileIdentifier fileId = new DataFileIdentifier(opId, tx.getID(), DataFileType.SOURCE, 1, 1);
                if (info.contains(fileId)) {
                    return new SourceDataIdentifier(info.getServerInfo(), info.getGuid());
                }
            }
            return null;
        }
    }
View Full Code Here

        wsBaseResult.setErrors(wsTestResult.getErrors());
        wsBaseResult.setGeneralKeyValues(wsTestResult.getGeneralKeyValues());
        wsBaseResult.setResult(wsTestResult.getIntermediateResult());
        wsBaseResult.setWarnings(wsTestResult.getWarnings());
        TestResult baseImpl = TestResultBuilder.build(wsBaseResult, serverId, serverName, debuggeeId, targetNodePath);
        SourceDataIdentifier sourceId = createSourceDataIdentifier(sourceDataGuid, serverId, serverName);
        return new ResultImpl(txId, sourceId, baseImpl, wsTestResult);
    }
View Full Code Here

    private static SourceDataIdentifier createSourceDataIdentifier(KongaGuid sourceDataGuid, ServerGuid serverId,
                    String serverName) {
        ServerInfo serverInfo = new ServerInfo(serverId, serverName);
        return (sourceDataGuid == null) ? SourceDataIdentifier.noSource(serverInfo) :
            new SourceDataIdentifier(serverInfo, sourceDataGuid);
    }
View Full Code Here

    public LoadSourceDataResultImpl(WsLoadSourceResult wsResult, ServerGuid serverId, String serverName,
                    TransformationId txId) {
        KongaGuid guid = KongaGuid.createGuid(wsResult.getGuid());
        ServerInfo serverInfo = new ServerInfo(serverId, serverName);
        id = new SourceDataIdentifier(serverInfo, guid);
        this.txId = txId;
        data = getDataFile(wsResult);
    }
View Full Code Here

            public void run() {
                removeCurrentTargetData();
                ServerTestCallback cb = new TestTransformationHandler();
                DataStructure inputStructure = getTransformation().getInputStructure();
                if (inputStructure.getStructureType().isSourceDataRequired()) {
                    SourceDataIdentifier sourceDataToken = loadSourceService.getSourceDataToken();
                    submitTestTransformationJob(sourceDataToken, cb);
                } else {
                    submitTestTransformationJob(null, cb);
                }
            }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.debug.client.file.SourceDataIdentifier

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.