Search in sources :

Example 1 with ModelReferencesValidation

use of org.eclipse.vorto.repository.core.impl.validation.ModelReferencesValidation in project vorto by eclipse.

the class JcrModelRepository method createValidators.

@PostConstruct
public void createValidators() {
    this.validators.add(new DuplicateModelValidation(this));
    this.validators.add(new ModelReferencesValidation(this));
    this.validators.add(new TypeImportValidation());
}
Also used : ModelReferencesValidation(org.eclipse.vorto.repository.core.impl.validation.ModelReferencesValidation) TypeImportValidation(org.eclipse.vorto.repository.core.impl.validation.TypeImportValidation) DuplicateModelValidation(org.eclipse.vorto.repository.core.impl.validation.DuplicateModelValidation) PostConstruct(javax.annotation.PostConstruct)

Aggregations

PostConstruct (javax.annotation.PostConstruct)1 DuplicateModelValidation (org.eclipse.vorto.repository.core.impl.validation.DuplicateModelValidation)1 ModelReferencesValidation (org.eclipse.vorto.repository.core.impl.validation.ModelReferencesValidation)1 TypeImportValidation (org.eclipse.vorto.repository.core.impl.validation.TypeImportValidation)1