Class GenericPayloadValidator<T>
java.lang.Object
org.activiti.cloud.services.modeling.rest.validation.GenericPayloadValidator<T>
- All Implemented Interfaces:
ModelValidationErrorProducer,org.springframework.validation.Validator
- Direct Known Subclasses:
ModelPayloadValidator,ProjectPayloadValidator
public abstract class GenericPayloadValidator<T>
extends Object
implements org.springframework.validation.Validator, ModelValidationErrorProducer
Abstract payload validator.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean -
Constructor Summary
ConstructorsConstructorDescriptionGenericPayloadValidator(Class<T> supportedClass, boolean validateRequiredFields) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.activiti.cloud.modeling.api.ModelValidationErrorProducer
createModelValidationError, createModelValidationErrorMethods inherited from interface org.springframework.validation.Validator
validateObject
-
Field Details
-
validateRequiredFields
protected boolean validateRequiredFields -
supportedClass
-
-
Constructor Details
-
GenericPayloadValidator
-
-
Method Details
-
supports
- Specified by:
supportsin interfaceorg.springframework.validation.Validator
-
validate
- Specified by:
validatein interfaceorg.springframework.validation.Validator
-
validatePayload
-