public interface ValidationResult
Validator| Modifier and Type | Method and Description |
|---|---|
ValidationErrorType |
getErrorType()
Returns the error type associated to the result, if
isError() is true. |
String |
getMessage()
Returns a message associated with the execution of the validation.
|
boolean |
isError()
Whether the validation has failed or not
|
String getMessage()
isError() is true), then it will contain the reason why the error was generated. Otherwise, it might or
might not contain some additional consideration about the validation resultString or nullValidationErrorType getErrorType()
isError() is true.ValidationErrorType or null if there was no errorboolean isError()
false otherwiseCopyright © 2017 MuleSoft, Inc.. All rights reserved.