ValidatorBuilder instead.public class PojoValidator extends Object
| Constructor and Description |
|---|
PojoValidator()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRule(Rule rule)
Deprecated.
Add Rule to use for validation.
|
void |
addTester(Tester tester)
Deprecated.
Add Tester to use for validation.
|
void |
runValidation(PojoClass pojoClass)
Deprecated.
Run the validation, this will invoke all the rule.evaluate as well as tester.run.
|
public void addRule(Rule rule)
rule - The rule to Add.public void addTester(Tester tester)
tester - The Tester to Add.public void runValidation(PojoClass pojoClass)
pojoClass - The PojoClass to validate.Copyright © 2010-2016. All Rights Reserved.