Class ExtensionsModelValidator

  • All Implemented Interfaces:
    org.activiti.cloud.modeling.api.ModelExtensionsValidator, org.activiti.cloud.modeling.api.ModelValidationErrorProducer, org.activiti.cloud.modeling.api.ModelValidator

    public class ExtensionsModelValidator
    extends ExtensionsJsonSchemaValidator
    Implementation of ExtensionsJsonSchemaValidator for validating the common extensions schema
    • Constructor Summary

      Constructors 
      Constructor Description
      ExtensionsModelValidator​(org.everit.json.schema.loader.SchemaLoader modelExtensionsSchemaLoader)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.activiti.cloud.modeling.api.ModelType getHandledModelType()  
      protected java.util.List<org.activiti.cloud.modeling.api.ModelValidationError> getValidationErrors​(org.activiti.cloud.modeling.api.Model model, org.activiti.cloud.modeling.api.ValidationContext validationContext)  
      protected org.everit.json.schema.loader.SchemaLoader schemaLoader()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.activiti.cloud.modeling.api.ModelExtensionsValidator

        getHandledContentType, validateModelExtensions
      • Methods inherited from interface org.activiti.cloud.modeling.api.ModelValidationErrorProducer

        createModelValidationError, createModelValidationError, createModelValidationError, createModelValidationError, createModelValidationError
    • Constructor Detail

      • ExtensionsModelValidator

        @Autowired
        public ExtensionsModelValidator​(org.everit.json.schema.loader.SchemaLoader modelExtensionsSchemaLoader)
    • Method Detail

      • getHandledModelType

        public org.activiti.cloud.modeling.api.ModelType getHandledModelType()
      • getValidationErrors

        protected java.util.List<org.activiti.cloud.modeling.api.ModelValidationError> getValidationErrors​(org.activiti.cloud.modeling.api.Model model,
                                                                                                           org.activiti.cloud.modeling.api.ValidationContext validationContext)
        Specified by:
        getValidationErrors in class ExtensionsJsonSchemaValidator