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

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


     * @return <code>true</code> if the deploy was successful, otherwise <code>false</code>
     */
    private boolean deploy(IntegrationProject project) {
      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


        return cb.waitUntilDone();
    }

    private DeployData convertProjectToDeployData(final IntegrationProject project) {
        final ManagedProject mp = project.getExtensionObject(ManagedProject.class);
        return new DeployData() {

            @Override
            public FileStore getFileStore() {
                return mp.getFileStore();
            }
View Full Code Here

        }

        public void run() {
            partialProject = IntegrationProject.createPartialProject(project, itemsToDeploy);
            ManagedProject managedProject = project.getExtensionObject(ManagedProject.class);
            DeployData data = new DeployDataImpl(managedProject, partialProject, true);
            worker.addCallback(new CallbackImpl(managedProject));
            worker.deploy(data, managedProject.getDeployHistory());
        }
View Full Code Here

TOP

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

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.