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
-
-
-
-
Method Detail
-
getRef
public String getRef()
-
setRef
public void setRef(String ref)
Set a bean reference of theValidator
- Parameters:
ref
- the bean reference of the Transformer
-
getClassName
public String getClassName()
-
setClassName
public void setClassName(String className)
Set a class name of theValidator
- Parameters:
className
- the class name of the Validator
-
-