@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, setType
public String getRef()
public void setRef(String ref)
Validator
ref
- the bean reference of the Transformerpublic String getClassName()
public void setClassName(String className)
Validator
className
- the class name of the ValidatorApache Camel