public class ModuleConstants
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
static java.util.Map<java.lang.String,java.lang.String> | 
CORE_MODULES
A map from "moduleid" to "required version" for all core modules that are required by
 openmrs. 
 | 
static java.lang.String | 
IGNORE_CORE_MODULES_PROPERTY
Used to determine if the  
CORE_MODULES list should be used or not. | 
static java.lang.String | 
MESSAGE_PROPERTY_ALLOW_KEYS_OUTSIDE_OF_MODULE_NAMESPACE
A module message.properties file containing this key mapped to "true" will be allowed to define messages outside of the module's namespace. 
 | 
static java.lang.String | 
REPOSITORY_FOLDER_PROPERTY
Name of the global property that will tell the system where to look for modules to load. 
 | 
static java.lang.String | 
REPOSITORY_FOLDER_PROPERTY_DEFAULT
Default name of the folder that holds the currently loaded modules for the system 
 | 
static java.lang.String | 
RUNTIMEPROPERTY_ALLOW_ADMIN
Setting either of these properties to "false" will block web administration of modules 
 | 
static java.lang.String | 
RUNTIMEPROPERTY_ALLOW_UPLOAD
Setting either of these properties to false will block web administration of modules 
 | 
static java.lang.String | 
RUNTIMEPROPERTY_MODULE_LIST_TO_LOAD
Intended to be used by the testing framework in order to set a list of specific files that
 need to be loaded by the Context. 
 | 
static java.lang.String | 
UPDATE_FILE_NAME
Name of the file in the module repository to ping to question for updates to a module 
 | 
| Constructor and Description | 
|---|
ModuleConstants()  | 
public static final java.util.Map<java.lang.String,java.lang.String> CORE_MODULES
public static final java.lang.String IGNORE_CORE_MODULES_PROPERTY
CORE_MODULES list should be used or not. For unit testing
 this is set to true to allow for faster runs with less dependencies.public static final java.lang.String UPDATE_FILE_NAME
public static final java.lang.String REPOSITORY_FOLDER_PROPERTY
public static final java.lang.String REPOSITORY_FOLDER_PROPERTY_DEFAULT
REPOSITORY_FOLDER_PROPERTY, 
Constant Field Valuespublic static final java.lang.String RUNTIMEPROPERTY_ALLOW_UPLOAD
RUNTIMEPROPERTY_ALLOW_ADMIN, 
Constant Field Valuespublic static final java.lang.String RUNTIMEPROPERTY_ALLOW_ADMIN
public static final java.lang.String RUNTIMEPROPERTY_MODULE_LIST_TO_LOAD
public static final java.lang.String MESSAGE_PROPERTY_ALLOW_KEYS_OUTSIDE_OF_MODULE_NAMESPACE
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.