Package org.jitterbit.integration.data.validation

Examples of org.jitterbit.integration.data.validation.EntityCollectionValidationResult.status()


        @Override
        public void valueChanged(TreeSelectionEvent e) {
            selectedEntity = getSelectedEntity();
            if (selectedEntity != null) {
                EntityCollectionValidationResult result = model.getCompoundValidationState(selectedEntity);
                if (result.status() != ValidationStatus.VALID) {
                    populateList(result);
                    return;
                }
            }
            clearList();
View Full Code Here


    private boolean validateItems(ManagedProject project, Collection<IntegrationEntity> items) {
        EntityCollectionValidationResult result = validateImpl(project, items);
        if (result.isFatal()) {
            showInvalidItems(result);
            return false;
        } else if (result.status() == ValidationStatus.WARNING) {
            EntityCollectionValidationResult warnings = DataValidationUtils.extractWarningsOnly(result);
            return warningsStrategy.allowDeploy(warnings);
        }
        return true;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.