Class ValidationResult

java.lang.Object
org.keycloak.validation.ValidationResult

public class ValidationResult extends Object
Author:
Vaclav Muzikar <vmuzikar@redhat.com>
  • Constructor Details

  • Method Details

    • isValid

      public boolean isValid()
    • getErrors

      public Set<ValidationError> getErrors()
    • getAllErrorsAsString

      public String getAllErrorsAsString()
    • getAllLocalizedErrorsAsString

      public String getAllLocalizedErrorsAsString(Properties messagesBundle)
    • getAllErrorsAsString

      protected String getAllErrorsAsString(Function<ValidationError,String> function)
    • fieldHasError

      public boolean fieldHasError(String fieldId)