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

openmrs / openmrs-core / 23193642646

17 Mar 2026 12:13PM UTC coverage: 63.1% (-0.3%) from 63.429%
23193642646

push

github

rkorytkowski
Fixing: Fix an issue with the ModuleResourceServlet

0 of 2 new or added lines in 1 file covered. (0.0%)

925 existing lines in 17 files now uncovered.

23137 of 36667 relevant lines covered (63.1%)

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/scheduler/StatefulTask.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.scheduler;
11

12
import org.openmrs.api.context.Context;
13
import org.openmrs.scheduler.tasks.AbstractTask;
14

15
/**
16
 * Stateful task
17
 * @deprecated since 2.9.x use {@link TaskHandler}
18
 */
19
@Deprecated
UNCOV
20
public abstract class StatefulTask extends AbstractTask {
×
21
        
22
        // Private context that provides some state
23
        private Context context;
24
        
25
        /**
26
         * Set the context for this task.
27
         */
28
        public void setContext(Context context) {
UNCOV
29
                this.context = context;
×
UNCOV
30
        }
×
31
        
32
        /**
33
         * Returns the context.
34
         */
35
        public Context getContext() {
UNCOV
36
                return this.context;
×
37
        }
38
        
39
}
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