@Metadata(label="validation") public class CustomValidatorDefinition extends ValidatorDefinition
Validator needs to be
specified. ValidatorDefinition Validator| Constructor and Description |
|---|
CustomValidatorDefinition() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName() |
String |
getRef() |
void |
setClassName(String className)
Set a class name of the
Validator |
void |
setRef(String ref)
Set a bean reference of the
Validator |
getType, setType, setTypepublic CustomValidatorDefinition()
public void setRef(String ref)
Validatorref - the bean reference of the Transformerpublic String getClassName()
public void setClassName(String className)
ValidatorclassName - the class name of the ValidatorApache Camel