Class CustomValidatorDefinition

java.lang.Object
org.apache.camel.model.validator.ValidatorDefinition
org.apache.camel.model.validator.CustomValidatorDefinition

@Metadata(label="validation") public class CustomValidatorDefinition extends ValidatorDefinition
Represents a CustomValidator. One of the bean reference (ref) or fully qualified class name (className) of the custom Validator needs to be specified.
  • Constructor Details

    • CustomValidatorDefinition

      public CustomValidatorDefinition()
  • Method Details

    • getRef

      public String getRef()
    • setRef

      public void setRef(String ref)
      Set a bean reference of the Validator
    • getClassName

      public String getClassName()
    • setClassName

      public void setClassName(String className)
      Set a class name of the Validator