Package org.jitterbit.integration.client.project

Examples of org.jitterbit.integration.client.project.ManagedProject


    private class StructureSaver implements SaveJob {

        @Override
        public void run() throws InterchangeSavingException {
            IntegrationProject project = view.getProject();
            ManagedProject mp = ProjectUtils.getManagedProject(project);
            mp.saveProjectRelationships();
        }
View Full Code Here


            });
        }
       
        private void updateProject() {
            DeployLog.LOG.fine("Updating the project data");
            ManagedProject managedProject = project.getExtensionObject(ManagedProject.class);
            DeployResultVisitor visitor = new PostDeployProjectUpdater(managedProject, deployData);
            results.accept(visitor);
        }
View Full Code Here

            }
        }

        private boolean validate() {
            setMessage("Validating the email message");
            ManagedProject project = ProjectUtils.getManagedProject(email);
            if (project == null) {
                throw new RuntimeException("The email must belong to a project");
            }
            ValidationContext context = new ProjectValidationContext(project);
            ValidationResult result = email.validate(context);
View Full Code Here

            editor.save();
        }
    }

    private void openPluginDialog(IntegrationEntity entity) {
        ManagedProject project = ProjectUtils.getManagedProject(entity);
        AppliedPipelinePluginsDialog dialog = new AppliedPipelinePluginsDialog(
                        entity,
                        serverManager,
                        project.getPipelinePlugins(),
                        Application.getCacheService().getCache(PipelinePluginManifestServerCache.class));
        dialog.open(appWin.getFrame());
    }
View Full Code Here

        this.view = view;
    }

    @Override
    public DeployGate newDeployGate() {
        ManagedProject project = InterchangeViewUtils.getManagedProject(view);
        return new DeployGateImpl(this, project.getDependencyStore());
    }
View Full Code Here

                        view.getDeployWorker(), view.getProject(), preProcessor);
        return deployer;
    }

    DeployChecker createDefaultDeployChecker() {
        ManagedProject project = InterchangeViewUtils.getManagedProject(view);
        return new StrictDeployChecker(project.getDependencyStore());
    }
View Full Code Here

        super(id, dictionary);
        this.projectManager = projectManager;
        lock = new Object();
        listener = new Listener();
        projectManager.addProjectManagerListener(listener);
        ManagedProject current = projectManager.getCurrentProject();
        setProject(current != null ? current.getProject() : null);
    }
View Full Code Here

        checkNotNull(project, "project");
        this.project = project;
    }
   
    public DeployPage createPage(DeployLauncher launcher, final String pageId) {
        ManagedProject managedProject = project.getExtensionObject(ManagedProject.class);
        LauncherWrapper launcherWrapper = new LauncherWrapper(launcher);
        DeployPage deployPage = new DeployPage(pageId, managedProject, launcherWrapper);
        launcherWrapper.setPage(deployPage);
        return deployPage;
    }
View Full Code Here

    }

    private void installValidationModel(final IntegrationProject project) {
        ValidationModel validationModel = null;
        if (project != null) {
            ManagedProject mp = ProjectUtils.getManagedProject(project);
            validationModel = mp.getValidationModel();
        }
        validationService.setModel(validationModel);
    }
View Full Code Here

            // e.g. by cancelling a prompt to save dirty items.
        }
    }

    private void closeProject() throws CloseProjectVetoException {
        ManagedProject mp = getManagedProject();
        getProjectManager().closeProject(mp);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.project.ManagedProject

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.