org.dbunit.ant
Class Operation
java.lang.Object
org.dbunit.ant.AbstractStep
org.dbunit.ant.Operation
- All Implemented Interfaces:
- DbUnitTaskStep
public class Operation
- extends AbstractStep
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: 629 $
- Author:
- Timothy Ruppert, Ben Cox
- See Also:
DbUnitTaskStep
Field Summary |
protected java.lang.String |
_type
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_type
protected java.lang.String _type
Operation
public Operation()
getType
public java.lang.String getType()
getSrc
public java.io.File getSrc()
getDbOperation
public DatabaseOperation getDbOperation()
getFormat
public java.lang.String getFormat()
isTransaction
public boolean isTransaction()
setType
public void setType(java.lang.String type)
setSrc
public void setSrc(java.io.File src)
setFormat
public void setFormat(java.lang.String format)
setTransaction
public void setTransaction(boolean transaction)
execute
public void execute(IDatabaseConnection connection)
throws DatabaseUnitException
- Throws:
DatabaseUnitException
getLogMessage
public java.lang.String getLogMessage()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2002-2008. All Rights Reserved.