public class Operation extends AbstractStep
Operation
class is the step that defines which
operation will be performed in the execution of the DbUnitTask
task.DbUnitTaskStep
Modifier and Type | Field and Description |
---|---|
protected String |
_type |
FORMAT_CSV, FORMAT_DTD, FORMAT_FLAT, FORMAT_XLS, FORMAT_XML
Constructor and Description |
---|
Operation() |
Modifier and Type | Method and Description |
---|---|
void |
execute(IDatabaseConnection connection) |
DatabaseOperation |
getDbOperation() |
String |
getFormat() |
String |
getLogMessage() |
File |
getSrc() |
String |
getType() |
boolean |
isTransaction() |
void |
setFormat(String format) |
void |
setSrc(File src) |
void |
setTransaction(boolean transaction) |
void |
setType(String type) |
String |
toString() |
checkDataFormat, getDatabaseDataSet, getInputSource, getSrcDataSet, isDataFormat
protected String _type
public String getType()
public File getSrc()
public DatabaseOperation getDbOperation()
public String getFormat()
public boolean isTransaction()
public void setType(String type)
public void setSrc(File src)
public void setFormat(String format)
public void setTransaction(boolean transaction)
public void execute(IDatabaseConnection connection) throws DatabaseUnitException
DatabaseUnitException
public String getLogMessage()
Copyright © 2002-2012. All Rights Reserved.