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

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


        }
    }

    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

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.