org.dbunit.ant
Class AbstractStep

java.lang.Object
  extended by org.dbunit.ant.AbstractStep
All Implemented Interfaces:
DbUnitTaskStep
Direct Known Subclasses:
Compare, Export, Operation

public abstract class AbstractStep
extends java.lang.Object
implements DbUnitTaskStep

Since:
Apr 3, 2004
Version:
$Revision: 629 $
Author:
Manuel Laflamme

Field Summary
static java.lang.String FORMAT_CSV
           
static java.lang.String FORMAT_DTD
           
static java.lang.String FORMAT_FLAT
           
static java.lang.String FORMAT_XML
           
 
Constructor Summary
AbstractStep()
           
 
Method Summary
protected  IDataSet getDatabaseDataSet(IDatabaseConnection connection, java.util.List tables, boolean forwardonly)
           
 org.apache.tools.ant.Task getParentTask()
           
protected  IDataSet getSrcDataSet(java.io.File src, java.lang.String format, boolean forwardonly)
           
 void log(java.lang.String msg, int level)
           
 void setParentTask(org.apache.tools.ant.Task task)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.dbunit.ant.DbUnitTaskStep
execute, getLogMessage
 

Field Detail

FORMAT_FLAT

public static final java.lang.String FORMAT_FLAT
See Also:
Constant Field Values

FORMAT_XML

public static final java.lang.String FORMAT_XML
See Also:
Constant Field Values

FORMAT_DTD

public static final java.lang.String FORMAT_DTD
See Also:
Constant Field Values

FORMAT_CSV

public static final java.lang.String FORMAT_CSV
See Also:
Constant Field Values
Constructor Detail

AbstractStep

public AbstractStep()
Method Detail

getDatabaseDataSet

protected IDataSet getDatabaseDataSet(IDatabaseConnection connection,
                                      java.util.List tables,
                                      boolean forwardonly)
                               throws DatabaseUnitException
Throws:
DatabaseUnitException

getSrcDataSet

protected IDataSet getSrcDataSet(java.io.File src,
                                 java.lang.String format,
                                 boolean forwardonly)
                          throws DatabaseUnitException
Throws:
DatabaseUnitException

getParentTask

public org.apache.tools.ant.Task getParentTask()

setParentTask

public void setParentTask(org.apache.tools.ant.Task task)

log

public void log(java.lang.String msg,
                int level)


Copyright © 2002-2008. All Rights Reserved.