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

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


        return PreDeployStatus.CONTINUE;
    }

    private void sendDataToServer(DeployData data, DeployCallback callback) {
        IntegrationServer server = IntegrationServer.getInstance();
        IntegrationProjectDeployer call = server.getServerCall(IntegrationProjectDeployer.class);
        DeployLog.LOG.info("Sending data to the InterchangeProjectDeployer");
        call.deployProject(data, new InternalCallback(projectMgr, data, callback));
    }
View Full Code Here


        // Check if the user has cancelled the process
        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

      consoleWriter.log("Deploying the project " + project.getName() + "...");
        project.markAsDeployDirty();
        DeployData data = convertProjectToDeployData(project);
        DeployCallbackImpl cb = new DeployCallbackImpl(project, this.consoleWriter);
        IntegrationServer server = IntegrationServer.getInstance();
        IntegrationProjectDeployer call = server.getServerCall(IntegrationProjectDeployer.class);
        call.deployProject(data, cb);
        return cb.waitUntilDone();
    }
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.IntegrationProjectDeployer

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.