@ProviderType
public interface ValidationResult
ValidationResult contains validation information either from a single Validator or from multiple Validator invocations.| Modifier and Type | Method and Description |
|---|---|
java.util.List<ValidationFailure> |
getFailures()
In case the validation failed (check the
isValid() method), this method returns the failure's causes. |
boolean |
isValid()
Tells if the validation was successful or not.
|
boolean isValid()
true for yes, false otherwise@Nonnull java.util.List<ValidationFailure> getFailures()
isValid() method), this method returns the failure's causes.null)Copyright © 2018 The Apache Software Foundation. All rights reserved.