Class DurationRangeProvider
java.lang.Object
xyz.srnyx.annoyingapi.file.okaeri.validator.provider.DurationRangeProvider
- All Implemented Interfaces:
eu.okaeri.validator.provider.ValidationProvider<DurationRange>
public class DurationRangeProvider
extends Object
implements eu.okaeri.validator.provider.ValidationProvider<DurationRange>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Class<DurationRange> @NotNull Set<eu.okaeri.validator.ConstraintViolation> validate(@NotNull DurationRange annotation, @Nullable Object annotationSource, @Nullable Object value, @NotNull Class<?> type, @NotNull Type genericType, @NotNull String name) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface eu.okaeri.validator.provider.ValidationProvider
compareBigDecimal, extractAnnotation, extractType, extractValue, getType, isNullOrEmpty, shouldValidate, toBigDecimal, validate, validate
-
Constructor Details
-
DurationRangeProvider
public DurationRangeProvider()
-
-
Method Details
-
getAnnotation
- Specified by:
getAnnotationin interfaceeu.okaeri.validator.provider.ValidationProvider<DurationRange>
-
validate
@NotNull public @NotNull Set<eu.okaeri.validator.ConstraintViolation> validate(@NotNull @NotNull DurationRange annotation, @Nullable @Nullable Object annotationSource, @Nullable @Nullable Object value, @NotNull @NotNull Class<?> type, @NotNull @NotNull Type genericType, @NotNull @NotNull String name) - Specified by:
validatein interfaceeu.okaeri.validator.provider.ValidationProvider<DurationRange>
-