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 Details

    • DurationRangeProvider

      public DurationRangeProvider()
  • Method Details

    • getAnnotation

      @NotNull public @NotNull Class<DurationRange> getAnnotation()
      Specified by:
      getAnnotation in interface eu.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:
      validate in interface eu.okaeri.validator.provider.ValidationProvider<DurationRange>