Interface CustomModelValidator


public interface CustomModelValidator
Custom model validator.
Applications may enforce extra rules on the model. The validators must be annotated with the Service-annotation as follows:
    @Service(CustomModelValidator.class)
    public class MyModelValidator implements CustomModelValidator {

      @Override
      public void validate(Model model) throws ModelException {
        ...
      }
    }
 
  • Method Details