Class MultiAttachmentSizeValidator
- java.lang.Object
-
- de.xima.fc.workflow.validation.constraintvalidators.MultiAttachmentSizeValidator
-
- All Implemented Interfaces:
javax.validation.ConstraintValidator<MultiAttachmentSize,MultiAttachment>
public class MultiAttachmentSizeValidator extends Object implements javax.validation.ConstraintValidator<MultiAttachmentSize,MultiAttachment>
Constraint annotation validator forMultiAttachmentSize
.- Since:
- 8.1.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description MultiAttachmentSizeValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(MultiAttachmentSize constraintAnnotation)
boolean
isValid(MultiAttachment value, javax.validation.ConstraintValidatorContext context)
-
-
-
Method Detail
-
initialize
public void initialize(MultiAttachmentSize constraintAnnotation)
- Specified by:
initialize
in interfacejavax.validation.ConstraintValidator<MultiAttachmentSize,MultiAttachment>
-
isValid
public boolean isValid(MultiAttachment value, javax.validation.ConstraintValidatorContext context)
- Specified by:
isValid
in interfacejavax.validation.ConstraintValidator<MultiAttachmentSize,MultiAttachment>
-
-