Package org.apache.camel.model.validator
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 customValidator
needs to be specified. {@see ValidatorDefinition} {@see Validator}
-
-
Constructor Summary
Constructors Constructor Description CustomValidatorDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClassName()
String
getRef()
void
setClassName(String className)
Set a class name of theValidator
void
setRef(String ref)
Set a bean reference of theValidator
-
Methods inherited from class org.apache.camel.model.validator.ValidatorDefinition
getType, setType, setType
-
-