public class UpdateFilterModel extends Object
UpdateFilter
uses this model object to hold all properties that are edited by the
user in the wizard. All attributes on this model object are added to all templates rendered by
the StartupFilter
.Modifier and Type | Field and Description |
---|---|
List<DatabaseUpdater.OpenMRSChangeSet> |
changes |
static String |
FOOTER_TEMPLATE |
static String |
HEADER_TEMPLATE |
static String |
OPENMRS_VERSION |
String |
setupPageUrl |
String |
superuserrole |
Boolean |
updateRequired |
Constructor and Description |
---|
UpdateFilterModel()
Default constructor that sets up some of the properties
|
UpdateFilterModel(LiquibaseProvider liquibaseProvider,
DatabaseUpdaterWrapper databaseUpdaterWrapper)
Constructor that allows to inject a Liquibase provider.
|
Modifier and Type | Method and Description |
---|---|
void |
updateChanges()
Convenience method that reads from liquibase again to get the most recent list of changesets that
still need to be run.
|
public static final String HEADER_TEMPLATE
public static final String FOOTER_TEMPLATE
public List<DatabaseUpdater.OpenMRSChangeSet> changes
public String superuserrole
public String setupPageUrl
public static final String OPENMRS_VERSION
public Boolean updateRequired
public UpdateFilterModel()
public UpdateFilterModel(LiquibaseProvider liquibaseProvider, DatabaseUpdaterWrapper databaseUpdaterWrapper)
liquibaseProvider
- a Liquibase providerCopyright © 2024 OpenMRS Inc.. All rights reserved.