Package org.jitterbit.integration.data.project

Examples of org.jitterbit.integration.data.project.IntegrationProject


            case FTP:
                return FtpLocationPanelFactory.newPanel((FtpLocation) loc, type);
            case HTTP:
                return HttpLocationPanelFactory.newPanel((HttpLocation) loc, type);
            case JMS:
                IntegrationProject project = ProjectUtils.getProject(locatable);
                return new JmsLocationPanel(project, (JmsLocation) loc, type);
            case LDAP:
                return LdapLocationPanelFactory.newPanel((LdapLocation) loc, type);
            default:
                throw new RuntimeException("Unexpected location type: " + loc.getDataLocationType());
View Full Code Here


        selector.setText(Strings.get("Deploy.Individual.Name"));
    }

    @Override
    public final void execute(String tag) {
        IntegrationProject partialProject = createPartialProject();
        if (partialProject != null) {
            partialProject.markAsDeployDirty();
            deployData = new DeployDataImpl(managedProject, partialProject, true);
            deployData.setTag(tag);
            deployLauncher.startDeploy(deployData);
        }
    }
View Full Code Here

        }
        return (IntegrationProject) parent;
    }

    public static ManagedProject getManagedProject(IntegrationEntity entity) {
        IntegrationProject project = getProject(entity);
        return (project != null) ? project.getExtensionObject(ManagedProject.class) : null;
    }
View Full Code Here

            ws.addContent(currentViewer.getWindowContent(), this);
        }

        private ProjectContentViewer createNewViewer() {
            ProjectContentViewer viewer = ProjectContentViewerManager.this.createNewViewer();
            IntegrationProject project = view.getProject();
            if (project != null) {
                viewer.newProjectOpened(view.getProject());
            }
            installProcessFilter(viewer);
            return viewer;
View Full Code Here

        public void run() {
            try {
                waitForInitializationToComplete();
                boolean canContinue = closeCurrentProject();
                if (canContinue) {
                    IntegrationProject project = launchOption.getProject();
                    displayProject(project);
                } else {
                    waitLock.release();
                }
                hibernate();
View Full Code Here

        this.view = view;
    }

    @Override
    public boolean openEditor(Editor page) {
        IntegrationProject project = view.getProject();
        return view.getEditorService().openEditor(page, ProjectPageGroup.get(project));
    }
View Full Code Here

     *            the integration entity the project of which to get the group name for
     * @return the name of the group. <code>null</code> is returned if <code>e</code> does not
     *         belong to a project.
     */
    public static String get(IntegrationEntity e) {
        IntegrationProject project = ProjectUtils.getProject(e);
        return get(project);
    }
View Full Code Here

        // TODO: If everything is valid we should do what we do in DeployEverything
        Set<IntegrationEntity> itemsToDeploy = getItemsToDeploy();
        if (itemsToDeploy.isEmpty()) {
            Alert.error("There are no valid items to deploy.", "Nothing to deploy");
        } else {
            IntegrationProject project = IntegrationProject.createPartialProject(
                            managedProject.getProject(), itemsToDeploy);
            deployData = new DeployDataImpl(managedProject, project, true);
            deployData.setTag(tag);
            deployLauncher.startDeploy(deployData);
        }
View Full Code Here

    }

    private ManagedProject getProject(Collection<IntegrationEntity> toDeploy) {
        assert (toDeploy != null) && !toDeploy.isEmpty();
        IntegrationEntity e = toDeploy.iterator().next();
        IntegrationProject project = ProjectUtils.getProject(e);
        return project.getExtensionObject(ManagedProject.class);
    }
View Full Code Here

        IntegrationProjectId id = projectFile.getProjectID();
        if (id == null) {
            throw new InterchangeLoadingException("There is a problem with the project: the project ID is missing. " +
                "Please contact Jitterbit support.");
        }
        IntegrationProject project = IntegrationProject.createExistingProjectShell(name, id);
        project.setGlobalDataElements(new DefaultGlobalDataElements());
        projectFile.applyToLoadedProject(project);
        projectFile.setProject(project);
        ManagedProjectImpl mp = new ManagedProjectImpl(manager, project, projectFile, rootDirectory);
        readProjectData(tracker, mp);
        return mp;
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.project.IntegrationProject

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.