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

openmrs / openmrs-core / 27824292656

19 Jun 2026 11:57AM UTC coverage: 63.653% (-0.08%) from 63.728%
27824292656

push

github

web-flow
TRUNK-6429: Addressing post commit review (#6190)

33 of 69 new or added lines in 10 files covered. (47.83%)

43 existing lines in 5 files now uncovered.

23926 of 37588 relevant lines covered (63.65%)

0.64 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
        
NEW
28
        protected AggregatedEntityEvent() {
×
29
                this.events = new ArrayList<>();
×
30
        }
×
31
        
32
        protected AggregatedEntityEvent(List<EntityEvent<?>> events) {
1✔
33
                this.events = events;
1✔
34
        }
1✔
35
        
36
        protected AggregatedEntityEvent(List<EntityEvent<?>> events, Set<String> tags) {
37
                super(tags);
×
38
                this.events = events;
×
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