public abstract class AbstractLiquibaseCommand<T extends io.dropwizard.Configuration>
extends io.dropwizard.cli.ConfiguredCommand<T>
Modifier | Constructor and Description |
---|---|
protected |
AbstractLiquibaseCommand(String name,
String description,
DatabaseConfiguration<T> strategy,
Class<T> configurationClass,
String migrationsFileName) |
Modifier and Type | Method and Description |
---|---|
void |
configure(net.sourceforge.argparse4j.inf.Subparser subparser) |
protected Class<T> |
getConfigurationClass() |
protected void |
run(io.dropwizard.setup.Bootstrap<T> bootstrap,
net.sourceforge.argparse4j.inf.Namespace namespace,
T configuration) |
protected abstract void |
run(net.sourceforge.argparse4j.inf.Namespace namespace,
liquibase.Liquibase liquibase) |
protected Class<T> getConfigurationClass()
getConfigurationClass
in class io.dropwizard.cli.ConfiguredCommand<T extends io.dropwizard.Configuration>
public void configure(net.sourceforge.argparse4j.inf.Subparser subparser)
configure
in class io.dropwizard.cli.ConfiguredCommand<T extends io.dropwizard.Configuration>
protected void run(@Nullable io.dropwizard.setup.Bootstrap<T> bootstrap, net.sourceforge.argparse4j.inf.Namespace namespace, T configuration) throws Exception
Copyright © 2020. All rights reserved.