org.dbunit.ant
Class Operation

java.lang.Object
  extended byorg.dbunit.ant.AbstractStep
      extended byorg.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: 1.13 $
Author:
Timothy Ruppert, Ben Cox
See Also:
DbUnitTaskStep

Field Summary
protected  java.lang.String _type
           
 
Fields inherited from class org.dbunit.ant.AbstractStep
FORMAT_CSV, FORMAT_DTD, FORMAT_FLAT, FORMAT_XML
 
Constructor Summary
Operation()
           
 
Method Summary
 void execute(IDatabaseConnection connection)
           
 DatabaseOperation getDbOperation()
           
 java.lang.String getFormat()
           
 java.lang.String getLogMessage()
           
 java.io.File getSrc()
           
 java.lang.String getType()
           
 void setFormat(java.lang.String format)
           
 void setSrc(java.io.File src)
           
 void setType(java.lang.String type)
           
 java.lang.String toString()
           
 
Methods inherited from class org.dbunit.ant.AbstractStep
getDatabaseDataSet, getSrcDataSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_type

protected java.lang.String _type
Constructor Detail

Operation

public Operation()
Method Detail

getType

public java.lang.String getType()

getSrc

public java.io.File getSrc()

getDbOperation

public DatabaseOperation getDbOperation()

getFormat

public java.lang.String getFormat()

setType

public void setType(java.lang.String type)

setSrc

public void setSrc(java.io.File src)

setFormat

public void setFormat(java.lang.String format)

execute

public void execute(IDatabaseConnection connection)
             throws DatabaseUnitException
Throws:
DatabaseUnitException

getLogMessage

public java.lang.String getLogMessage()

toString

public java.lang.String toString()


Copyright © 2002-2004 DbUnit.org. All Rights Reserved.