Package org.dbunit.ant
Class Operation
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.dbunit.ant.AbstractStep
org.dbunit.ant.Operation
- All Implemented Interfaces:
Cloneable,DbUnitTaskStep
The
Operation class is the step that defines which
operation will be performed in the execution of the DbUnitTask
task.- Since:
- Jun 10, 2002
- Version:
- $Revision$
- Author:
- Timothy Ruppert, Ben Cox
-
Field Summary
FieldsFields inherited from class org.dbunit.ant.AbstractStep
FORMAT_CSV, FORMAT_DTD, FORMAT_FLAT, FORMAT_XLS, FORMAT_XML, FORMAT_YMLFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConfiguredFileset(org.apache.tools.ant.types.FileSet fileSet) voidexecute(IDatabaseConnection connection) File[]getSrc()getType()booleanbooleanvoidsetCombine(boolean combine) voidvoidsetNullToken(String nullToken) voidvoidvoidsetTransaction(boolean transaction) voidtoString()Methods inherited from class org.dbunit.ant.AbstractStep
checkDataFormat, getDatabaseDataSet, getInputSource, getSrcDataSet, isDataFormat, isOrdered, setOrderedMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
-
Field Details
-
_type
-
-
Constructor Details
-
Operation
public Operation()
-
-
Method Details
-
getSrc
-
setSrc
-
setSrc
-
addConfiguredFileset
public void addConfiguredFileset(org.apache.tools.ant.types.FileSet fileSet) -
getFormat
-
setFormat
-
isCombine
public boolean isCombine() -
setCombine
public void setCombine(boolean combine) -
isTransaction
public boolean isTransaction() -
setTransaction
public void setTransaction(boolean transaction) -
getNullToken
-
setNullToken
-
getDbOperation
-
getType
-
setType
-
execute
- Throws:
DatabaseUnitException
-
getLogMessage
-
toString
- Overrides:
toStringin classAbstractStep
-