Package io.dropwizard.migrations
Class DbDropAllCommand<T extends Configuration>
- java.lang.Object
-
- io.dropwizard.core.cli.Command
-
- io.dropwizard.core.cli.ConfiguredCommand<T>
-
- io.dropwizard.migrations.AbstractLiquibaseCommand<T>
-
- io.dropwizard.migrations.DbDropAllCommand<T>
-
public class DbDropAllCommand<T extends Configuration> extends AbstractLiquibaseCommand<T>
-
-
Constructor Summary
Constructors Constructor Description DbDropAllCommand(DatabaseConfiguration<T> strategy, Class<T> configurationClass, String migrationsFileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(net.sourceforge.argparse4j.inf.Subparser subparser)
void
run(net.sourceforge.argparse4j.inf.Namespace namespace, liquibase.Liquibase liquibase)
-
Methods inherited from class io.dropwizard.migrations.AbstractLiquibaseCommand
getConfigurationClass, run
-
Methods inherited from class io.dropwizard.core.cli.ConfiguredCommand
addFileArgument, cleanup, cleanupAsynchronously, getConfiguration, run
-
Methods inherited from class io.dropwizard.core.cli.Command
getDescription, getName, onError
-
-
-
-
Constructor Detail
-
DbDropAllCommand
public DbDropAllCommand(DatabaseConfiguration<T> strategy, Class<T> configurationClass, String migrationsFileName)
-
-
Method Detail
-
configure
public void configure(net.sourceforge.argparse4j.inf.Subparser subparser)
- Overrides:
configure
in classAbstractLiquibaseCommand<T extends Configuration>
-
run
public void run(net.sourceforge.argparse4j.inf.Namespace namespace, liquibase.Liquibase liquibase) throws Exception
- Specified by:
run
in classAbstractLiquibaseCommand<T extends Configuration>
- Throws:
Exception
-
-