org.keycloak.userprofile.validation

## Class AttributeValidationResult

- java.lang.Object
- - org.keycloak.userprofile.validation.AttributeValidationResult

-     public class AttributeValidationResult
      extends Object

  Author:
    Markus Till

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AttributeValidationResult(String attributeKey, boolean changed, List<ValidationResult> validationResults)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<ValidationResult>` | `getFailedValidations()`
    `String` | `getField()`
    `List<ValidationResult>` | `getValidationResults()`
    `boolean` | `hasChanged()`
    `boolean` | `hasFailureOfErrorType(String... errorKeys)`
    `protected boolean` | `isInvalid()`
    `boolean` | `isValid()`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### AttributeValidationResult

          public AttributeValidationResult(String attributeKey,
                                           boolean changed,
                                           List<ValidationResult> validationResults)

  - ### Method Detail

    - #### getValidationResults

          public List<ValidationResult> getValidationResults()

    - #### getFailedValidations

          public List<ValidationResult> getFailedValidations()

    - #### isValid

          public boolean isValid()

    - #### isInvalid

          protected boolean isInvalid()

    - #### hasChanged

          public boolean hasChanged()

    - #### getField

          public String getField()

    - #### hasFailureOfErrorType

          public boolean hasFailureOfErrorType(String... errorKeys)

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