|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataDrivable
The class that needs to be data-driven should implement this interface.
Method Summary | |
---|---|
void |
addVariablesToRowData(Map vars)
Used to keep track of the variables and their original values. |
void |
destroyVariables(Set keys)
Removes the keys from the context and the variable set in addVariablesToRowData() |
void |
executeDrivableRow(int rowNum)
Called with the a key-value pair of variables for each row found in the data source. |
boolean |
isCountRow()
Used to tell whether this DataDrivable object is meant to report on each row execution or to report on them as a whole |
Method Detail |
---|
void executeDrivableRow(int rowNum)
rowNum
- - The row number being executedvoid destroyVariables(Set keys)
keys
- - A Set of variable names to clean up.void addVariablesToRowData(Map vars)
vars
- - A map of key-value pairs.boolean isCountRow()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |