org.openmrs.module
Class ModuleConstants

java.lang.Object
  extended by org.openmrs.module.ModuleConstants

public class ModuleConstants
extends java.lang.Object

Constants used by the module system in openmrs


Field Summary
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 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 Summary
ModuleConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CORE_MODULES

public static final 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. A module with at least the given version is required to start before openmrs will fully start.


IGNORE_CORE_MODULES_PROPERTY

public static final java.lang.String IGNORE_CORE_MODULES_PROPERTY
Used to determine if the CORE_MODULES list should be used or not. For unit testing this is set to true to allow for faster runs with less dependencies.

See Also:
Constant Field Values

UPDATE_FILE_NAME

public static final java.lang.String UPDATE_FILE_NAME
Name of the file in the module repository to ping to question for updates to a module

See Also:
Constant Field Values

REPOSITORY_FOLDER_PROPERTY

public static final java.lang.String REPOSITORY_FOLDER_PROPERTY
Name of the global property that will tell the system where to look for modules to load. Can be either relative or absolute

See Also:
Constant Field Values

REPOSITORY_FOLDER_PROPERTY_DEFAULT

public static final java.lang.String REPOSITORY_FOLDER_PROPERTY_DEFAULT
Default name of the folder that holds the currently loaded modules for the system

See Also:
REPOSITORY_FOLDER_PROPERTY, Constant Field Values

RUNTIMEPROPERTY_ALLOW_UPLOAD

public static final java.lang.String RUNTIMEPROPERTY_ALLOW_UPLOAD
Setting either of these properties to false will block web administration of modules

See Also:
RUNTIMEPROPERTY_ALLOW_ADMIN, Constant Field Values

RUNTIMEPROPERTY_ALLOW_ADMIN

public static final java.lang.String RUNTIMEPROPERTY_ALLOW_ADMIN
Setting either of these properties to "false" will block web administration of modules

See Also:
RUNTIMEPROPERTY_ALLOW_UPLOAD, Constant Field Values

RUNTIMEPROPERTY_MODULE_LIST_TO_LOAD

public static final 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. Should be space separated. Should be either absolute file paths or classpath loadable file paths.

See Also:
Constant Field Values
Constructor Detail

ModuleConstants

public ModuleConstants()

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change