Package org.dbunit.ant
Class DbConfig
java.lang.Object
org.apache.tools.ant.ProjectComponent
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$ $Date$
- Author:
- gommma (gommma AT users.sourceforge.net), Last changed by: $Author$
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFeature(DbConfig.Feature feature) voidaddProperty(org.apache.tools.ant.taskdefs.Property property) voidcopyTo(DatabaseConfig config) Copies the parameters set in this configuration via ant into the givenDatabaseConfigthat is used by the dbunit connection.Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
-
Constructor Details
-
DbConfig
public DbConfig()
-
-
Method Details
-
addProperty
public void addProperty(org.apache.tools.ant.taskdefs.Property property) -
addFeature
-
copyTo
Copies the parameters set in this configuration via ant into the givenDatabaseConfigthat is used by the dbunit connection.- Parameters:
config- The configuration object to be initialized/updated- Throws:
DatabaseUnitException
-