| Package | Description |
|---|---|
| org.keycloak.userprofile | |
| org.keycloak.validate |
| Modifier and Type | Method and Description |
|---|---|
void |
ValidationException.accept(ValidationError error) |
| Constructor and Description |
|---|
Error(ValidationError error) |
| Modifier and Type | Method and Description |
|---|---|
ValidationError |
ValidationError.setStatusCode(javax.ws.rs.core.Response.Status statusCode) |
| 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. |
| Modifier and Type | Method and Description |
|---|---|
void |
ValidationContext.addError(ValidationError error)
Adds an
ValidationError. |
| Modifier and Type | Method and Description |
|---|---|
void |
ValidationResult.forEachError(Consumer<ValidationError> consumer)
Convenience method that accepts a
Consumer. |
| 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.