public abstract class FlywayBundle<T extends io.dropwizard.Configuration> extends Object implements io.dropwizard.Bundle, io.dropwizard.db.DatabaseConfiguration<T>, FlywayConfiguration<T>
Constructor and Description |
---|
FlywayBundle() |
Modifier and Type | Method and Description |
---|---|
FlywayFactory |
getFlywayFactory(T configuration) |
void |
initialize(io.dropwizard.setup.Bootstrap<?> bootstrap) |
void |
run(io.dropwizard.setup.Environment environment) |
public final void initialize(io.dropwizard.setup.Bootstrap<?> bootstrap)
initialize
in interface io.dropwizard.Bundle
public final void run(io.dropwizard.setup.Environment environment)
run
in interface io.dropwizard.Bundle
public FlywayFactory getFlywayFactory(T configuration)
getFlywayFactory
in interface FlywayConfiguration<T extends io.dropwizard.Configuration>
Copyright © 2018. All rights reserved.