Examples of KongaGuid


Examples of org.jitterbit.util.id.KongaGuid

     * requested file is already available locally. If the file must be downloaded from the server
     * this call is guaranteed to be asynchronous, and the callback will be notified on the EDT
     * regardless of from which thread this call was made.
     */
    public void retrieveDataFile(DataFileIdentifier fileId, Receiver<Result> callback) {
        KongaGuid processGuid = null;
        TransformationDataFile localFile = TransformationDataFile.NULL;
        synchronized (localFiles) {
            DataFilesInfo filesInfo = localFiles.getCurrentFilesInfo();
            if (filesInfo == null || !filesInfo.contains(fileId)) {
                boolean unknownFile = true;
View Full Code Here

Examples of org.jitterbit.util.id.KongaGuid

        impl.addFileInfo(new DataFileInfo(DataFileType.SOURCE, 1));
        return impl;
    }

    public static DataFilesInfo buildForTestTransformation(TestTransformationResult result) {
        KongaGuid guid = result.getDataFilesGuid();
        SourceDataIdentifier sourceId = result.getSourceDataIdentifier();
        DefaultDataFilesInfo impl = new DefaultDataFilesInfo(guid, sourceId.getServerInfo(), null, result.getTransformationId());
        if (!sourceId.isNoSource()) {
            impl.addFileInfo(new DataFileInfo(DataFileType.SOURCE, 1));
        }
View Full Code Here

Examples of org.jitterbit.util.id.KongaGuid

    @Override
    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());
View Full Code Here

Examples of org.jitterbit.util.id.KongaGuid

    @Override
    public DataFilesInfo storeTestTransformationResult(TestTransformationResult result) {
        checkTestTransformationResult(result);
        DataFilesInfo info;
        KongaGuid guid = null;
        if (result != null) {
            info = DataFilesInfoBuilder.buildForTestTransformation(result);
            guid = info.getGuid();
        } else {
            info = null;
View Full Code Here

Examples of org.jitterbit.util.id.KongaGuid

            if (Thread.currentThread().isInterrupted()) {
                callback.cancelled();
                return;
            }
            decodeResultString(wsResult);
            KongaGuid sourceGuid = (sourceDataIdentifier != null) ? sourceDataIdentifier.getGuid() :
                debugSession.getSourceDataGuid();
            TestTransformationResult clientResult = TestTransformationResultBuilder.build(
                            wsResult,
                            (TransformationId) debugSession.getDebugeeId(),
                            sourceGuid,
View Full Code Here

Examples of org.jitterbit.util.id.KongaGuid

        private Map<Key, DefaultDataFilesInfo> collectAllOperationTransformationPairs(WsTestOperationResult wsResult,
                        ServerInfo serverInfo) {
            Map<Key, DefaultDataFilesInfo> map = Maps.newHashMap();
            WsDataFilesInfo wsFilesInfo = wsResult.getDataFileInfo();
            KongaGuid guid = KongaGuid.createGuid(wsFilesInfo.getGuid());
            for (WsDataFileInfo wsFile : wsFilesInfo.getDataFiles()) {
                OperationId opId = new OperationId(wsFile.getOperationGuid());
                TransformationId txId = new TransformationId(wsFile.getTransformationGuid());
                Key key = new Key(opId, txId);
                DefaultDataFilesInfo collection = map.get(key);
View Full Code Here

Examples of org.jitterbit.util.id.KongaGuid

    private final DataFile data;

    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
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.