|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jameleon.data.DataExecuter
public class DataExecuter
Ties DataDriver and DataDrivable together.
Field Summary | |
---|---|
protected DataDriver |
driver
|
Constructor Summary | |
---|---|
DataExecuter()
Default constructor. |
|
DataExecuter(DataDriver driver)
Uses the given driver to drive the DataDrivable. |
Method Summary | |
---|---|
void |
executeData(DataDrivable drivable,
boolean noExecute)
When it is time to make the class data-driven, this method should be called. |
DataDriver |
getDataDriver()
Gets the DataDriver used by this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected DataDriver driver
Constructor Detail |
---|
public DataExecuter()
public DataExecuter(DataDriver driver)
driver
to drive the DataDrivable.
driver
- The drive used to drive the DataDrivable.Method Detail |
---|
public DataDriver getDataDriver()
public void executeData(DataDrivable drivable, boolean noExecute) throws IOException
drivable
- - The class to be data-driven, for example, a csv tag classnoExecute
- - If set to true, then the driver's methods will not actually get called
and the executeDrivableRow will get called with an empty data set.
IOException
- the datasource handle cannot be opened or the datasource
cannot be read from.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |