public interface Validator
ValidationResult object.
The validate(MuleEvent) method receives a
MuleEvent in order to make it generic and easy to extend.
However, that doesn't necessarily mean that all the validation
is performed with or over the event exclusively. Thread
safeness is not to be assumed over instances of this class
since the validator could be stateful.| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
validate(MuleEvent event)
Performs the validation and generates a
ValidationResult back. |
ValidationResult validate(MuleEvent event)
ValidationResult back.event - the current MuleEventValidationResultCopyright © 2003–2023 MuleSoft, Inc.. All rights reserved.