Package org.jitterbit.integration.salesforce.bulkload

Examples of org.jitterbit.integration.salesforce.bulkload.BatchFileParams


    }

    @Test
    public void testBatchParams() {
        assertEquals(BatchFileParams.DEFAULT, blo.getBatchParams());
        BatchFileParams params = BatchFileParams.DEFAULT;
        blo.setBatchParams(params);
        BatchFileParams restoredParams = blo.getBatchParams();
        assertEquals(params, restoredParams);
    }
View Full Code Here


     */
    public BatchFileParams getBatchParams() {
        synchronized (getDataLock()) {
            int recs = getIntProperty(RECS_PER_BATCH, BatchFileParams.DEFAULT_RECORDS_PER_FILE);
            int chars = getIntProperty(CHARS_PER_BATCH, BatchFileParams.DEFAULT_CHARACTERS_PER_FILE);
            return new BatchFileParams(recs, chars);
        }
    }
View Full Code Here

            return new BatchFileParams(recs, chars);
        }
    }

    public void setBatchParams(BatchFileParams params) {
        BatchFileParams old;
        synchronized (getDataLock()) {
            old = getBatchParams();
            setProperty(RECS_PER_BATCH, params.recordsPerFile);
            setProperty(CHARS_PER_BATCH, params.charactersPerFile);
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.salesforce.bulkload.BatchFileParams

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.