org.codehaus.mojo.dbunit
Class CompareMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.dbunit.AbstractDbUnitMojo
          extended by org.codehaus.mojo.dbunit.CompareMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class CompareMojo
extends AbstractDbUnitMojo

Execute DbUnit Compare operation

Version:
$Id: CompareMojo.java 6588 2008-03-28 12:22:57Z bentmann $
Author:
Dan Tran
Is defined by the goal name:
compare

Field Summary
protected  String format
          DataSet file format
protected  org.dbunit.ant.Query[] queries
          List of DbUnit's Query.
protected  boolean sort
          sort
protected  File src
          DataSet file
protected  org.dbunit.ant.Table[] tables
          List of DbUnit's Table.
 
Fields inherited from class org.codehaus.mojo.dbunit.AbstractDbUnitMojo
dataTypeFactoryName, datatypeWarning, driver, escapePattern, metadataHandlerName, password, schema, skip, skipOracleRecycleBinTables, supportBatchStatement, url, useQualifiedTableNames, username
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CompareMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

src

protected File src
DataSet file

Is defined by:
expression:
${src}
Is required.

format

protected String format
DataSet file format

Is defined by:
expression:
${format}
default-value:
xml

sort

protected boolean sort
sort

Is defined by:
expression:
${sort}

tables

protected org.dbunit.ant.Table[] tables
List of DbUnit's Table. See DbUnit's org.dbunit.ant.Table JavaDoc for details

Is defined by:

queries

protected org.dbunit.ant.Query[] queries
List of DbUnit's Query. See DbUnit's org.dbunit.ant.Query JavaDoc for details

Is defined by:
Constructor Detail

CompareMojo

public CompareMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException
Specified by:
execute in interface Mojo
Overrides:
execute in class AbstractDbUnitMojo
Throws:
MojoExecutionException
MojoFailureException


Copyright © 2006-2009 Codehaus. All Rights Reserved.