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
|
org.openmrs.web |
Modifier and Type | Method and Description |
---|---|
static void |
Context.startup(java.util.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(java.lang.String url,
java.lang.String username,
java.lang.String password,
java.util.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(java.util.Map<java.lang.String,java.lang.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(java.lang.String changelog,
java.util.Map<java.lang.String,java.lang.Object> userInput)
Run changesets on database using Liquibase to get the database up to the most recent version
|
static java.util.List<java.lang.String> |
DatabaseUpdater.executeChangelog(java.lang.String changelog,
java.util.Map<java.lang.String,java.lang.Object> userInput,
DatabaseUpdater.ChangeSetExecutorCallback callback)
Executes the given changelog file.
|
Modifier and Type | Method and Description |
---|---|
static void |
WebDaemon.startOpenmrs(javax.servlet.ServletContext servletContext)
Start openmrs in a new thread that is authenticated as the daemon user.
|
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.