use of org.eclipse.vorto.repository.core.impl.validation.BulkModelReferencesValidation in project vorto by eclipse.
the class BulkUploadHelper method constructBulkUploadValidators.
private List<IModelValidator> constructBulkUploadValidators(Set<ModelInfo> modelResources) {
List<IModelValidator> bulkUploadValidators = new LinkedList<IModelValidator>();
bulkUploadValidators.add(new DuplicateModelValidation(this.repositoryService));
bulkUploadValidators.add(new BulkModelDuplicateIdValidation(this.repositoryService, modelResources));
bulkUploadValidators.add(new BulkModelReferencesValidation(this.repositoryService, modelResources));
return bulkUploadValidators;
}
Aggregations