Package io.dropwizard.flyway.cli
Class NoOptionsFlywayCommand<T extends io.dropwizard.core.Configuration>
- java.lang.Object
-
- io.dropwizard.core.cli.Command
-
- io.dropwizard.core.cli.ConfiguredCommand<T>
-
- io.dropwizard.flyway.cli.NoOptionsFlywayCommand<T>
-
- Direct Known Subclasses:
DbCleanCommand,DbInfoCommand,DbInitCommand,DbRepairCommand
public abstract class NoOptionsFlywayCommand<T extends io.dropwizard.core.Configuration> extends io.dropwizard.core.cli.ConfiguredCommand<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected Class<T>getConfigurationClass()protected voidrun(io.dropwizard.core.setup.Bootstrap<T> bootstrap, net.sourceforge.argparse4j.inf.Namespace namespace, T configuration)protected abstract voidrun(net.sourceforge.argparse4j.inf.Namespace namespace, org.flywaydb.core.Flyway flyway)protected voidsetAdditionalOptions(FlywayFactory flywayFactory, net.sourceforge.argparse4j.inf.Namespace namespace)
-
-
-
Method Detail
-
setAdditionalOptions
protected void setAdditionalOptions(FlywayFactory flywayFactory, net.sourceforge.argparse4j.inf.Namespace namespace)
-
getConfigurationClass
protected Class<T> getConfigurationClass()
- Overrides:
getConfigurationClassin classio.dropwizard.core.cli.ConfiguredCommand<T extends io.dropwizard.core.Configuration>
-
run
protected void run(io.dropwizard.core.setup.Bootstrap<T> bootstrap, net.sourceforge.argparse4j.inf.Namespace namespace, T configuration) throws Exception- Specified by:
runin classio.dropwizard.core.cli.ConfiguredCommand<T extends io.dropwizard.core.Configuration>- Throws:
Exception
-
-