Package | Description |
---|---|
org.openmrs.api.context |
This package describes the context framework through which
authentication is performed and services provided for the OpenMRS system.
|
org.openmrs.util |
Shared utilities for OpenMRS classes
|
Modifier and Type | Method and Description |
---|---|
static void |
Context.startup(Properties props)
Starts the OpenMRS System Should be called prior to any kind of activity
If an InputRequiredException is thrown, a call to
DatabaseUpdater#update(Map) will be required with a mapping from
question prompt to user answer before startup can be called again. |
static void |
Context.startup(String url,
String username,
String password,
Properties properties)
Starts the OpenMRS System in a _non-webapp_ environment
If an InputRequiredException is thrown, a call to
DatabaseUpdater#update(Map) will be required with a mapping from
question prompt to user answer before startup can be called again. |
static void |
Context.updateDatabase(Map<String,Object> userInput)
Updates the openmrs database to the latest.
|
Modifier and Type | Method and Description |
---|---|
static void |
DatabaseUpdater.executeChangelog()
Convenience method to run the changesets using Liquibase to bring the database up to a
version compatible with the code
|
static void |
DatabaseUpdater.executeChangelog(String changelog,
Map<String,Object> userInput)
Run changesets on database using Liquibase to get the database up to the most recent version
|
static List<String> |
DatabaseUpdater.executeChangelog(String changelog,
Map<String,Object> userInput,
DatabaseUpdater.ChangeSetExecutorCallback callback)
Executes the given changelog file.
|
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.