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 customValidatorneeds 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 StringgetClassName()StringgetRef()voidsetClassName(String className)Set a class name of theValidatorvoidsetRef(String ref)Set a bean reference of theValidator-
Methods inherited from class org.apache.camel.model.validator.ValidatorDefinition
getType, setType, setType
-
-