org.dbunit.ant
Class DbConfig

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.dbunit.ant.DbConfig
All Implemented Interfaces:
Cloneable

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

The database configuration for the ant task.

Since:
2.4.0
Version:
$Revision: 856 $ $Date: 2008-11-01 22:34:57 +0100 (Sat, 01 Nov 2008) $
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
description, location, 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
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
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-2012. All Rights Reserved.