Package org.jitterbit.integration.data.project.validation

Examples of org.jitterbit.integration.data.project.validation.ValidationModel


    }

    @Override
    public void setIndicateValidationStatus(boolean value) {
        tree.setIndicateValidationStatus(value);
        ValidationModel model = null;
        if (value) {
            model = tree.getValidationModel();
        }
        updateValidationIndicator(model);
    }
View Full Code Here


        private final Set<IntegrationEntity> validItems;

        public DeployCollector() {
            validItems = Sets.newHashSet();
            ValidationModel validationModel = managedProject.getValidationModel();
            for (IntegrationEntity e : managedProject.getProject().getAllEntities()) {
                if (validationModel.getStatus(e, false) != ValidationStatus.INVALID) {
                    validItems.add(e);
                }
            }
        }
View Full Code Here

                deployer.execute(tag);
            }
        }

        private boolean isValid() {
            ValidationModel vm = project.getValidationModel();
            if (vm.getStatus(project.getProject(), true) == ValidationStatus.INVALID) {
                NonBlockingAlert.error("The project contains invalid items.", "Cannot deploy");
                return false;
            }
            return true;
        }
View Full Code Here

            connectOpNodeService.insertOperationNodes();
        }
    }

    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

        WindowSectionContentProvider provider = getContentProvider();
        appWin.displayContent(provider, ApplicationWindow.SOUTH, null, null);
    }

    private WindowSectionContentProvider getContentProvider() {
        ValidationModel model = getManagedProject().getValidationModel();
        ValidationWindowProviderFactory factory = ValidationWindowProviderFactory.newFactory(model);
        factory.setProjectManager(getProjectManager());
        factory.setPageDisplayer(pageDisplayer);
        return factory.newContentProvider();
    }
View Full Code Here

        }

        public void updateValidationIndicator() {
            ValidationStatus status = ValidationStatus.VALID;
            if (isIndicatingValidationStatus() && validationService != null) {
                ValidationModel model = validationService.getModel();
                status = model != null && project != null ? model.getStatus(project, true) : ValidationStatus.VALID;
            }
            setValidationStatus(status);
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.project.validation.ValidationModel

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.