public interface RebuildingStrategy
mainModule.addServices(RebuildingStrategy.class).withMixins(RebuildingStrategy.AlwaysNeed.class);
. This way your application will always re-build all index data at startup.Modifier and Type | Interface and Description |
---|---|
static class |
RebuildingStrategy.AlwaysNeed
The re-building strategy which ALWAYS re-builds the database schema.
|
static class |
RebuildingStrategy.NeedOnChange
The re-building strategy, which re-builds everything when application version changes.
|
static class |
RebuildingStrategy.NeverNeed
The re-building strategy which NEVER re-builds the database schema.
|
Modifier and Type | Method and Description |
---|---|
boolean |
rebuildingRequired(String dbAppVersion,
String currentAppVersion) |