Class EnctypePostRequiredValidator

java.lang.Object
io.micronaut.views.fields.constraints.EnctypePostRequiredValidator
All Implemented Interfaces:
io.micronaut.validation.validator.constraints.ConstraintValidator<EnctypePostRequired,Form>, jakarta.validation.ConstraintValidator<EnctypePostRequired,Form>

@Introspected public class EnctypePostRequiredValidator extends Object implements io.micronaut.validation.validator.constraints.ConstraintValidator<EnctypePostRequired,Form>
Validator for the constraint EnctypePostRequired being applied to a Form.
Since:
5.1.0
Author:
Sergio del Amo
  • Field Summary

    Fields inherited from interface io.micronaut.validation.validator.constraints.ConstraintValidator

    VALID
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isValid(@Nullable Form form, @NonNull io.micronaut.core.annotation.AnnotationValue<EnctypePostRequired> annotationMetadata, @NonNull io.micronaut.validation.validator.constraints.ConstraintValidatorContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.validation.validator.constraints.ConstraintValidator

    isValid

    Methods inherited from interface jakarta.validation.ConstraintValidator

    initialize
  • Constructor Details

    • EnctypePostRequiredValidator

      public EnctypePostRequiredValidator()
  • Method Details

    • isValid

      public boolean isValid(@Nullable @Nullable Form form, @NonNull @NonNull io.micronaut.core.annotation.AnnotationValue<EnctypePostRequired> annotationMetadata, @NonNull @NonNull io.micronaut.validation.validator.constraints.ConstraintValidatorContext context)
      Specified by:
      isValid in interface io.micronaut.validation.validator.constraints.ConstraintValidator<EnctypePostRequired,Form>