public class Operation extends AbstractStep
Operation class is the step that defines which
operation will be performed in the execution of the DbUnitTask
task.| Modifier and Type | Field and Description |
|---|---|
protected String |
_type |
FORMAT_CSV, FORMAT_DTD, FORMAT_FLAT, FORMAT_XLS, FORMAT_XML, FORMAT_YML| Constructor and Description |
|---|
Operation() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguredFileset(org.apache.tools.ant.types.FileSet fileSet) |
void |
execute(IDatabaseConnection connection) |
DatabaseOperation |
getDbOperation() |
String |
getFormat() |
String |
getLogMessage() |
String |
getNullToken() |
File[] |
getSrc() |
String |
getType() |
boolean |
isCombine() |
boolean |
isTransaction() |
void |
setCombine(boolean combine) |
void |
setFormat(String format) |
void |
setNullToken(String nullToken) |
void |
setSrc(File src) |
void |
setSrc(File[] sources) |
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[] sources)
public void setSrc(File src)
public void addConfiguredFileset(org.apache.tools.ant.types.FileSet fileSet)
public String getFormat()
public void setFormat(String format)
public boolean isCombine()
public void setCombine(boolean combine)
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–2025. All rights reserved.