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
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields inherited from class org.apache.tools.ant.ProjectComponent

    description, location, project
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    addProperty(org.apache.tools.ant.taskdefs.Property property)
     
    void
    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 Details

    • DbConfig

      public DbConfig()
  • Method Details

    • 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