Interface ValidationResult


public interface ValidationResult
This interface defines a Validation Result that might contain errors when the validation has an invalid state.
  • Method Details

    • isValid

      boolean isValid()
      Returns true if there are no errors, false otherwise.
      Returns:
      true if there are no errors, false otherwise.
      Since:
      6.8.0
    • getErrorMessages

      List<String> getErrorMessages()
      Returns a list with error messages if the result is not valid.
      Returns:
      a list with error messages if the result is not valid.
      Since:
      6.8.0
    • getFullErrorMessages

      List<ValidationMessage> getFullErrorMessages()
      Returns a list of ValidationMessage if the result is not valid.
      Returns:
      a list of ValidationMessage if the result is not valid.
      Since:
      6.9.0