org.dbmaintain.maven.plugin
Class ClearDatabaseMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.dbmaintain.maven.plugin.BaseMojo
          extended by org.dbmaintain.maven.plugin.BaseDatabaseMojo
              extended by org.dbmaintain.maven.plugin.ClearDatabaseMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ClearDatabaseMojo
extends BaseDatabaseMojo

Task that removes all database items like tables, views etc from the database and empties the DBMAINTAIN_SCRIPTS table.

Author:
Tim Ducheyne, tiwe

Field Summary
 
Fields inherited from class org.dbmaintain.maven.plugin.BaseDatabaseMojo
databases
 
Fields inherited from class org.dbmaintain.maven.plugin.BaseMojo
artifactFactory, configFile, localRepository, mavenProjectHelper, project, remoteRepositories, resolver
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ClearDatabaseMojo()
           
 
Method Summary
protected  DbMaintainTask createDbMaintainTask(List<DbMaintainDatabase> dbMaintainDatabases)
           
 
Methods inherited from class org.dbmaintain.maven.plugin.BaseDatabaseMojo
createDbMaintainTask, getAllScriptLocations, getDbMaintainDatabases
 
Methods inherited from class org.dbmaintain.maven.plugin.BaseMojo
execute, getMavenProperties, performAfterTaskActions
 
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
 

Constructor Detail

ClearDatabaseMojo

public ClearDatabaseMojo()
Method Detail

createDbMaintainTask

protected DbMaintainTask createDbMaintainTask(List<DbMaintainDatabase> dbMaintainDatabases)
Specified by:
createDbMaintainTask in class BaseDatabaseMojo


Copyright © 2011. All Rights Reserved.