org.liquibase.maven.plugins
Class LiquibaseDropAll

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.liquibase.maven.plugins.AbstractLiquibaseMojo
          extended by org.liquibase.maven.plugins.LiquibaseDropAll
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class LiquibaseDropAll
extends AbstractLiquibaseMojo

Drops all database objects owned by the user. Note that functions, procedures and packages are not dropped.

Since:
2.0.2
Author:
Ferenc Gratzer

Field Summary
protected  String catalog
           
protected  String schemas
          The schemas to be dropped.
 
Fields inherited from class org.liquibase.maven.plugins.AbstractLiquibaseMojo
changelogCatalogName, changelogSchemaName, clearCheckSums, databaseClass, defaultCatalogName, defaultSchemaName, driver, emptyPassword, includeArtifact, includeTestOutputDirectory, logging, outputDefaultCatalog, outputDefaultSchema, outputFileEncoding, password, project, promptOnNonLocalDatabase, propertyFile, propertyFileWillOverride, skip, systemProperties, url, username, verbose, wagonManager
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
LiquibaseDropAll()
           
 
Method Summary
protected  void performLiquibaseTask(Liquibase liquibase)
           
protected  void printSettings(String indent)
          Prints the settings that have been set of defaulted for the plugin.
 
Methods inherited from class org.liquibase.maven.plugins.AbstractLiquibaseMojo
checkRequiredParametersAreSpecified, cleanup, configureFieldsAndValues, createLiquibase, execute, getClassLoaderIncludingProjectClasspath, getFileOpener, getLiquibase, getMavenArtifactClassLoader, getOutputWriter, isPromptOnNonLocalDatabase, parsePropertiesFile
 
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

schemas

protected String schemas
The schemas to be dropped. Comma separated list.


catalog

protected String catalog
Constructor Detail

LiquibaseDropAll

public LiquibaseDropAll()
Method Detail

performLiquibaseTask

protected void performLiquibaseTask(Liquibase liquibase)
                             throws LiquibaseException
Specified by:
performLiquibaseTask in class AbstractLiquibaseMojo
Throws:
LiquibaseException

printSettings

protected void printSettings(String indent)
Description copied from class: AbstractLiquibaseMojo
Prints the settings that have been set of defaulted for the plugin. These will only be shown in verbose mode.

Overrides:
printSettings in class AbstractLiquibaseMojo
Parameters:
indent - The indent string to use when printing the settings.


Copyright © 2013 Liquibase.org. All Rights Reserved.