Module org.mule.sdk.api
Annotation Interface Validator
@MinMuleVersion("4.5.0")
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
public @interface Validator
Stereotype annotation to mark that one or more operations are validators.
Any operation reached by this annotation must:
- Have a void return type
- Declare that it throws at least one Error which is
MuleErrors#VALIDATIONor has it as parent
- Since:
- 1.0