Package org.jitterbit.integration.client.deploy.serverapi

Examples of org.jitterbit.integration.client.deploy.serverapi.JitterPackServerBackup


        if (Thread.currentThread().isInterrupted()) {
            return;
        }
        IntegrationServer server = IntegrationServer.getInstance();
        IntegrationProjectDeployer deployer = server.getServerCall(IntegrationProjectDeployer.class);
        JitterPackServerBackup backup = new JitterPackServerBackup(project.getID(), jp.getFile(), tag);
        deployer.uploadJitterPack(backup, new UploadJitterPackCallback() {

            @Override
            public void uploadComplete() {
                doCleanup(jp);
View Full Code Here


        };
    }

    private void sendBackup(JitterPack jp, IntegrationProject project) {
        consoleWriter.log("Sending a backup of the project " + project.getName() + " to the server...");
        JitterPackServerBackup backup = new JitterPackServerBackup(project.getID(), jp.getFile(), null);
        UploadBackupCallbackImpl cb = new UploadBackupCallbackImpl(consoleWriter);
        IntegrationServer server = IntegrationServer.getInstance();
        IntegrationProjectDeployer call = server.getServerCall(IntegrationProjectDeployer.class);
        call.uploadJitterPack(backup, cb);
        cb.waitUntilDone();
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.deploy.serverapi.JitterPackServerBackup

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.