public class ModuleConstants extends Object
Modifier and Type | Field and Description |
---|---|
static Map<String,String> |
CORE_MODULES
A map from "moduleid" to "required version" for all core modules that are required by
openmrs.
|
static String |
IGNORE_CORE_MODULES_PROPERTY
Used to determine if the
CORE_MODULES list should be used or not. |
static String |
REPOSITORY_FOLDER_PROPERTY
Name of the global property that will tell the system where to look for modules to load.
|
static String |
REPOSITORY_FOLDER_PROPERTY_DEFAULT
Default name of the folder that holds the currently loaded modules for the system
|
static String |
RUNTIMEPROPERTY_ALLOW_ADMIN
Setting either of these properties to "false" will block web administration of modules
|
static String |
RUNTIMEPROPERTY_ALLOW_UPLOAD
Setting either of these properties to false will block web administration of modules
|
static 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 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 Map<String,String> CORE_MODULES
public static final 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 String UPDATE_FILE_NAME
public static final String REPOSITORY_FOLDER_PROPERTY
public static final String REPOSITORY_FOLDER_PROPERTY_DEFAULT
REPOSITORY_FOLDER_PROPERTY
,
Constant Field Valuespublic static final String RUNTIMEPROPERTY_ALLOW_UPLOAD
RUNTIMEPROPERTY_ALLOW_ADMIN
,
Constant Field Valuespublic static final String RUNTIMEPROPERTY_ALLOW_ADMIN
public static final String RUNTIMEPROPERTY_MODULE_LIST_TO_LOAD
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.