@ProviderType
public interface ValidationResult
ValidationResult
contains validation information either from a single Validator
or from multiple Validator invocations.Modifier and Type | Method and Description |
---|---|
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 List<ValidationFailure> getFailures()
isValid()
method), this method returns the failure's causes.null
)Copyright © 2017 The Apache Software Foundation. All rights reserved.