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