org.dbunit.ant
Class DbConfig

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.dbunit.ant.DbConfig

public class DbConfig
extends org.apache.tools.ant.ProjectComponent

The database configuration for the ant task.

Since:
2.4.0
Version:
$Revision: 1107 $ $Date: 2009-11-14 15:13:54 +0100 (sab, 14 nov 2009) $
Author:
gommma (gommma AT users.sourceforge.net), Last changed by: $Author: gommma $

Nested Class Summary
static class DbConfig.Feature
           
 
Field Summary
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
DbConfig()
           
 
Method Summary
 void addFeature(DbConfig.Feature feature)
           
 void addProperty(org.apache.tools.ant.taskdefs.Property property)
           
 void copyTo(DatabaseConfig config)
          Copies the parameters set in this configuration via ant into the given DatabaseConfig that is used by the dbunit connection.
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, log, log, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbConfig

public DbConfig()
Method Detail

addProperty

public void addProperty(org.apache.tools.ant.taskdefs.Property property)

addFeature

public void addFeature(DbConfig.Feature feature)

copyTo

public void copyTo(DatabaseConfig config)
            throws DatabaseUnitException
Copies the parameters set in this configuration via ant into the given DatabaseConfig that is used by the dbunit connection.

Parameters:
config - The configuration object to be initialized/updated
Throws:
DatabaseUnitException


Copyright © 2002-2010. All Rights Reserved.