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