• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openmrs / openmrs-core / 20784346756

07 Jan 2026 02:13PM UTC coverage: 63.283%. First build
20784346756

push

github

web-flow
TRUNK-6418 Run liquibase checks and data imports only when version of core or modules changes (#5603)

* TRUNK-6418: Run liquibase checks and data imports only when version of core or modules changes

(cherry picked from commit 4723e71c3)

* TRUNK-6418: Follow up adjustments

---------

Co-authored-by: IamMujuziMoses <mujuzimoses@gmail.com>

49 of 112 new or added lines in 9 files covered. (43.75%)

23080 of 36471 relevant lines covered (63.28%)

0.63 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/api/src/main/java/org/openmrs/module/BaseModuleActivator.java
1
/**
2
 * This Source Code Form is subject to the terms of the Mozilla Public License,
3
 * v. 2.0. If a copy of the MPL was not distributed with this file, You can
4
 * obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
5
 * the terms of the Healthcare Disclaimer located at http://openmrs.org/license.
6
 *
7
 * Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
8
 * graphic logo is a trademark of OpenMRS Inc.
9
 */
10
package org.openmrs.module;
11

12
/**
13
 * Must be extended by modules and referenced by the Module-Activator property in the module
14
 * manifest, contains methods that let modules get notifications as the application is executing to
15
 * allow modules to react in custom ways.
16
 * 
17
 * @since 1.7
18
 */
19
public abstract class BaseModuleActivator implements ModuleActivator {
×
20
        
21
        /**
22
         * @see org.openmrs.module.ModuleActivator#contextRefreshed()
23
         */
24
        @Override
25
        public void contextRefreshed() {
26
        }
×
27
        
28
        /**
29
         * @see org.openmrs.module.ModuleActivator#started()
30
         */
31
        @Override
32
        public void started() {
33
        }
×
34
        
35
        /**
36
         * @see org.openmrs.module.ModuleActivator#stopped()
37
         */
38
        @Override
39
        public void stopped() {
40
                
41
        }
×
42
        
43
        /**
44
         * @see org.openmrs.module.ModuleActivator#willRefreshContext()
45
         */
46
        @Override
47
        public void willRefreshContext() {
48
        }
×
49
        
50
        /**
51
         * @see org.openmrs.module.ModuleActivator#willStart()
52
         */
53
        @Override
54
        public void willStart() {
55
        }
×
56
        
57
        /**
58
         * @see org.openmrs.module.ModuleActivator#willStop()
59
         */
60
        @Override
61
        public void willStop() {
62
        }
×
63
        
64
        /**
65
         * @see org.openmrs.module.ModuleActivator#setupOnVersionChangeBeforeSchemaChanges(String, String)
66
         */
67
        @Override
68
        public void setupOnVersionChangeBeforeSchemaChanges(String previousCoreVersion, String previousModuleVersion) {
NEW
69
        }
×
70

71
        /**
72
         * @see org.openmrs.module.ModuleActivator#setupOnVersionChange(String, String)
73
         */
74
        @Override
75
        public void setupOnVersionChange(String previousCoreVersion, String previousModuleVersion) {
NEW
76
        }
×
77
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc