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

    • Constructor Detail

      • DbCleanCommand

        public DbCleanCommand​(io.dropwizard.db.DatabaseConfiguration<T> databaseConfiguration,
                              FlywayConfiguration<T> flywayConfiguration,
                              Class<T> configurationClass)
    • Method Detail

      • run

        protected void run​(net.sourceforge.argparse4j.inf.Namespace namespace,
                           org.flywaydb.core.Flyway flyway)
                    throws Exception
        Throws:
        Exception
      • 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