Package io.dropwizard.migrations
Class MigrationsBundle<T extends Configuration>
- java.lang.Object
-
- io.dropwizard.migrations.MigrationsBundle<T>
-
- All Implemented Interfaces:
ConfiguredBundle<T>
,DatabaseConfiguration<T>
public abstract class MigrationsBundle<T extends Configuration> extends Object implements ConfiguredBundle<T>, DatabaseConfiguration<T>
-
-
Constructor Summary
Constructors Constructor Description MigrationsBundle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMigrationsFileName()
@Nullable Map<String,Object>
getScopedObjects()
If overridden, enters a newScope
, in which the provided objects are available.void
initialize(Bootstrap<?> bootstrap)
Initializes the application bootstrap.String
name()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.dropwizard.core.ConfiguredBundle
run
-
Methods inherited from interface io.dropwizard.db.DatabaseConfiguration
getDataSourceFactory
-
-
-
-
Method Detail
-
initialize
public final void initialize(Bootstrap<?> bootstrap)
Description copied from interface:ConfiguredBundle
Initializes the application bootstrap.- Specified by:
initialize
in interfaceConfiguredBundle<T extends Configuration>
- Parameters:
bootstrap
- the application bootstrap
-
getMigrationsFileName
public String getMigrationsFileName()
-
name
public String name()
-
-