|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The TestSetValidator interface is the extension point of the TestSetGenerator
By implementing this interface customer made validators can be implemented. The validator is based on the Command Pattern. So first you set the applicable parameters, and then you execute the isValid method. The TestSetGenerator will execute the custom validator for every row in the resultset. Via the setParameter the values from the database are transfered to the custom validator.
For an example implementation| Method Summary | |
boolean |
isValid()
Validate the supplied parameters. |
void |
setParameter(java.lang.String name,
java.lang.String value)
Set a parameter of the custom validator. |
| Method Detail |
public void setParameter(java.lang.String name,
java.lang.String value)
throws org.apache.tools.ant.BuildException
name - The name of the parametervalue - The value of the parameter
org.apache.tools.ant.BuildException - In case of an error in the custom validator
public boolean isValid()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException - In case of an error during validation
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||