Class ConditionalNotEmptyValidator

java.lang.Object
com.atlassian.bitbucket.validation.ConditionalNotEmptyValidator
All Implemented Interfaces:
javax.validation.ConstraintValidator<ConditionalNotEmpty,Object>

public class ConditionalNotEmptyValidator extends Object implements javax.validation.ConstraintValidator<ConditionalNotEmpty,Object>
  • Constructor Details

    • ConditionalNotEmptyValidator

      public ConditionalNotEmptyValidator()
  • Method Details

    • initialize

      public void initialize(ConditionalNotEmpty constraint)
      Specified by:
      initialize in interface javax.validation.ConstraintValidator<ConditionalNotEmpty,Object>
    • isValid

      public boolean isValid(Object object, javax.validation.ConstraintValidatorContext context)
      Specified by:
      isValid in interface javax.validation.ConstraintValidator<ConditionalNotEmpty,Object>