public class DbDropAllCommand<T extends Configuration> extends AbstractLiquibaseCommand<T>
Constructor and Description |
---|
DbDropAllCommand(DatabaseConfiguration<T> strategy,
Class<T> configurationClass,
String migrationsFileName) |
Modifier and Type | Method and Description |
---|---|
void |
configure(net.sourceforge.argparse4j.inf.Subparser subparser)
Configure the command's
Subparser . |
void |
run(net.sourceforge.argparse4j.inf.Namespace namespace,
liquibase.Liquibase liquibase) |
getConfigurationClass, run
addFileArgument, cleanup, cleanupAsynchronously, run
getDescription, getName, onError
public DbDropAllCommand(DatabaseConfiguration<T> strategy, Class<T> configurationClass, String migrationsFileName)
public void configure(net.sourceforge.argparse4j.inf.Subparser subparser)
ConfiguredCommand
Subparser
. N.B.: if you override this method, you
must call super.override(subparser)
in order to preserve the configuration
file parameter in the subparser.
configure
in class AbstractLiquibaseCommand<T extends Configuration>
subparser
- the Subparser
specific to the commandpublic void run(net.sourceforge.argparse4j.inf.Namespace namespace, liquibase.Liquibase liquibase) throws Exception
run
in class AbstractLiquibaseCommand<T extends Configuration>
Exception
Copyright © 2019. All rights reserved.