public interface Validator
ValidationResult object.
The validate(Event) method receives a Event 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(Event event)
Performs the validation and generates a
ValidationResult back. |
ValidationResult validate(Event event)
ValidationResult back.event - the current EventValidationResultCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.