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() |
String |
getNullToken() |
File |
getSrc() |
String |
getType() |
boolean |
isTransaction() |
void |
setFormat(String format) |
void |
setNullToken(String nullToken) |
void |
setSrc(File src) |
void |
setTransaction(boolean transaction) |
void |
setType(String type) |
String |
toString() |
checkDataFormat, getDatabaseDataSet, getInputSource, getSrcDataSet, isDataFormat, isOrdered, setOrderedprotected String _type
public File getSrc()
public void setSrc(File src)
public String getFormat()
public void setFormat(String format)
public boolean isTransaction()
public void setTransaction(boolean transaction)
public String getNullToken()
public void setNullToken(String nullToken)
public DatabaseOperation getDbOperation()
public String getType()
public void setType(String type)
public void execute(IDatabaseConnection connection) throws DatabaseUnitException
DatabaseUnitExceptionpublic String getLogMessage()
public String toString()
toString in class AbstractStepCopyright © 2002-2017. All Rights Reserved.