## Uses of Class
org.keycloak.validate.ValidationError

- Packages that use ValidationError
  Package | Description
  --- | ---
  org.keycloak.userprofile |
  org.keycloak.validate |

- - ### Uses of ValidationError in org.keycloak.userprofile

    Methods in org.keycloak.userprofile with parameters of type ValidationError
    Modifier and Type | Method and Description
    --- | ---
    `void` | ValidationException.`accept(ValidationError error)`

    Constructors in org.keycloak.userprofile with parameters of type ValidationError
    Constructor and Description
    `Error(ValidationError error, BiFunction<String,Object[],String> messageFormatter)`

  - ### Uses of ValidationError in org.keycloak.validate

    Methods in org.keycloak.validate that return ValidationError
    Modifier and Type | Method and Description
    --- | ---
    `ValidationError` | ValidationError.`setStatusCode(javax.ws.rs.core.Response.Status statusCode)`

    Methods in org.keycloak.validate that return types with arguments of type ValidationError
    Modifier and Type | Method and Description
    --- | ---
    `Set<ValidationError>` | ValidationResult.`getErrors()`
    `Set<ValidationError>` | ValidationContext.`getErrors()`
    `Set<ValidationError>` | ValidationResult.`getErrorsForInputHint(String inputHint)` Returns a `Set` of `ValidationError's` with the given `inputHint` if present, otherwise an empty `Set` is returned.
    `Set<ValidationError>` | ValidationResult.`getErrorsForValidatorId(String id)` Returns a `Set` of `ValidationError's` from the `Validator` with the given `id` if present, otherwise an empty `Set` is returned.

    Methods in org.keycloak.validate with parameters of type ValidationError
    Modifier and Type | Method and Description
    --- | ---
    `void` | ValidationContext.`addError(ValidationError error)` Adds an `ValidationError`.

    Method parameters in org.keycloak.validate with type arguments of type ValidationError
    Modifier and Type | Method and Description
    --- | ---
    `void` | ValidationResult.`forEachError(Consumer<ValidationError> consumer)` Convenience method that accepts a `Consumer`.

    Constructor parameters in org.keycloak.validate with type arguments of type ValidationError
    Constructor and Description
    `ValidationContext(KeycloakSession session, Set<ValidationError> errors)` Creates a new `ValidationContext`.
    `ValidationResult(Set<ValidationError> errors)` Creates a new `ValidationResult` from the given errors.

Copyright © 2021 JBoss by Red Hat. All rights reserved.