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