Package org.jitterbit.integration.client.project.jitterpack

Examples of org.jitterbit.integration.client.project.jitterpack.Exporter


            PostExportManager postExportManager = null;
            try {
                ManagedProject project = exportUi.getProjectToExport();
                ExportParameters params = exportUi.getExportParameters();
                postExportManager = project.prepareForExport(params.arePasswordsExported());
                Exporter exporter = createExporter(params);
                JitterPack jp = exporter.pack(project, exportUi.getComment(), exportUi.getDestination(), params);
                callback.succeeded(jp);
                postExportManager.runJobs(PostExportJob.Condition.ON_SUCCESS);
            } catch (Throwable err) {
                // This is a boundary to the UI: we must catch all errors here, including
                // RuntimeExceptions and Errors (see bug 2803249)
View Full Code Here


                    throws InterchangeLoadingException, UnsupportedVersionException, JitterPackException {
        ManagedProjectImpl mp = projectLoader.loadProjectSilently(name, rootDirectory);
        try {
            String comment = "Backup copy, created at " + new Date() + ".";
            ExportParameters params = getExportParameters(rootDirectory, includeClientSpecificData);
            Exporter exporter = createExporter(params);
            return exporter.pack(mp, comment, target, params);
        } finally {
            mp.close();
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.project.jitterpack.Exporter

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.