Package org.jitterbit.integration.debug.client.de

Examples of org.jitterbit.integration.debug.client.de.DataElementMap$Key


    validateQuery(query);
    validateSplitSize(numSplits);

    List<Query> splits = new ArrayList<Query>(numSplits);
    List<Key> scatterKeys = getScatterKeys(numSplits, query, datastore);
    Key lastKey = null;
    for (Key nextKey : getSplitKey(scatterKeys, numSplits)) {
      splits.add(createSplit(lastKey, nextKey, query));
      lastKey = nextKey;
    }
    splits.add(createSplit(lastKey, null, query));
View Full Code Here


        }
    }

    public void setDataElementsReturnedFromServer(Collection<DataElement> fromServer) {
        synchronized (lock) {
            DataElementMap des = new DataElementMap(dataElements.get());
            des.processDataElementsReturnedFromServer(fromServer);
            dataElements.set(des);
        }
    }
View Full Code Here

     *            by a matching data element in the added collection; <code>false</code> if the
     *            values of the existing data elements should remain untouched.
     */
    public void addDataElementsScannedFromScript(Iterable<DataElement> scanned, boolean overwriteValues) {
        synchronized (lock) {
            DataElementMap des = new DataElementMap(dataElements.get());
            des.addScannedDataElements(scanned, overwriteValues);
            dataElements.set(des);
        }
    }
View Full Code Here

        }
    }

    public void setDataElementsScannedFromScript(Iterable<DataElement> scanned) {
        synchronized (lock) {
            DataElementMap des = new DataElementMap(dataElements.get());
            des.replaceScannedDataElements(scanned);
            dataElements.set(des);
        }
    }
View Full Code Here

        }
    }

    public void resetDataElements() {
        synchronized (lock) {
            DataElementMap des = new DataElementMap(dataElements.get());
            des.reset();
            dataElements.set(des);
        }
    }
View Full Code Here

    // data elements returned from the server, and the UI thread that sets the data elements
    // that have been scanned from the script.
    private final Object lock;

    public ScriptDataElementsModel() {
        dataElements = newProperty(DATA_ELEMENTS, new DataElementMap());
        dataElements.setAllowsNull(false);
        lock = new Object();
    }
View Full Code Here

        }
    }

    public void stopTest() {
        synchronized (lock) {
            DataElementMap des = new DataElementMap(dataElements.get());
            des.stopTest();
            dataElements.set(des);
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.debug.client.de.DataElementMap$Key

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.