Class RequiredTimeDurationValidator
- java.lang.Object
-
- de.xima.fc.validation.constraintvalidators.RequiredTimeDurationValidator
-
- All Implemented Interfaces:
javax.validation.ConstraintValidator<RequiredTimeDuration,TimeDuration>
public final class RequiredTimeDurationValidator extends Object implements javax.validation.ConstraintValidator<RequiredTimeDuration,TimeDuration>
Validator implementation for theRequiredTimeDuration
constraint.- Since:
- 8.1.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description RequiredTimeDurationValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValid(TimeDuration value, javax.validation.ConstraintValidatorContext context)
-
-
-
Method Detail
-
isValid
public boolean isValid(TimeDuration value, javax.validation.ConstraintValidatorContext context)
- Specified by:
isValid
in interfacejavax.validation.ConstraintValidator<RequiredTimeDuration,TimeDuration>
-
-