Class NoOptionsFlywayCommand<T extends io.dropwizard.core.Configuration>

    • Method Detail

      • setAdditionalOptions

        protected void setAdditionalOptions​(FlywayFactory flywayFactory,
                                            net.sourceforge.argparse4j.inf.Namespace namespace)
      • getConfigurationClass

        protected Class<T> getConfigurationClass()
        Overrides:
        getConfigurationClass in class io.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:
        run in class io.dropwizard.core.cli.ConfiguredCommand<T extends io.dropwizard.core.Configuration>
        Throws:
        Exception
      • run

        protected abstract void run​(net.sourceforge.argparse4j.inf.Namespace namespace,
                                    org.flywaydb.core.Flyway flyway)
                             throws Exception
        Throws:
        Exception