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

openmrs / openmrs-core / 27147200794

08 Jun 2026 03:09PM UTC coverage: 63.494% (-10.1%) from 73.596%
27147200794

push

github

web-flow
TRUNK-6516: Provide CDC mechanism with Debezium (#6151)

16 of 78 new or added lines in 8 files covered. (20.51%)

39 existing lines in 3 files now uncovered.

23804 of 37490 relevant lines covered (63.49%)

0.63 hits per line

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

25.0
/api/src/main/java/org/openmrs/event/AggregatedEntityEvent.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.event;
11

12
import java.util.ArrayList;
13
import java.util.List;
14
import java.util.Set;
15

16
/**
17
 * Extend to create an event for your grouped entity events that you can listen to.
18
 * <p>
19
 * It needs to be used together with {@link TransactionalEventAggregator}.
20
 * 
21
 * @since 2.9.0
22
 */
23
public abstract class AggregatedEntityEvent extends BaseSessionEvent {
24
        private static final long serialVersionUID = 1L;
25
        
26
        private List<EntityEvent<?>> events;
27
        
28
        public AggregatedEntityEvent() {
×
NEW
29
                this.events = new ArrayList<>();
×
UNCOV
30
        }
×
31
        
32
        public AggregatedEntityEvent(List<EntityEvent<?>> events) {
1✔
33
                this.events = events;
1✔
34
        }
1✔
35
        
36
        public AggregatedEntityEvent(List<EntityEvent<?>> events, Set<String> tags) {
NEW
37
                super(tags);
×
UNCOV
38
                this.events = events;
×
UNCOV
39
        }
×
40

41
        public List<EntityEvent<?>> getEvents() {
42
                return events;
×
43
        }
44

45
        public void setEvents(List<EntityEvent<?>> events) {
46
                this.events = events;
×
47
        }
×
48
}
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