Package org.activiti.cloud.modeling.api
Interface ModelExtensionsValidator
- All Superinterfaces:
ModelValidationErrorProducer,ModelValidator
Business logic related with validation of the extensions of a model
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringGet handled content type by this validator (by default JSON).default Collection<ModelValidationError> validateModelExtensions(byte[] modelContent, ValidationContext validationContext) Validate the given model content.Methods inherited from interface org.activiti.cloud.modeling.api.ModelValidationErrorProducer
createModelValidationError, createModelValidationErrorMethods inherited from interface org.activiti.cloud.modeling.api.ModelValidator
getHandledModelType, validate, validate
-
Method Details
-
validateModelExtensions
default Collection<ModelValidationError> validateModelExtensions(byte[] modelContent, ValidationContext validationContext) Validate the given model content.- Parameters:
modelContent- the model content to validatevalidationContext- the validation context
-
getHandledContentType
Get handled content type by this validator (by default JSON).- Specified by:
getHandledContentTypein interfaceModelValidator- Returns:
- handled content type
-