Package | Description |
---|---|
org.openmrs.api.context |
This package describes the context framework through which
authentication is performed and services provided for the OpenMRS system.
|
org.openmrs.scheduler | |
org.openmrs.scheduler.tasks | |
org.openmrs.scheduler.timer |
Modifier and Type | Method and Description |
---|---|
static void |
Daemon.executeScheduledTask(Task task)
Executes the given task in a new thread that is authenticated as the daemon user.
|
Modifier and Type | Class and Description |
---|---|
class |
StatefulTask
Stateful task
|
Modifier and Type | Method and Description |
---|---|
Task |
TaskFactory.createInstance(TaskDefinition taskDefinition)
Creates a new instance of Schedulable used to run tasks.
|
Task |
TaskDefinition.getTaskInstance()
Gets the runnable task instance associated with this definition.
|
Task |
SchedulerService.rescheduleTask(TaskDefinition task)
Stop and start a scheduled task.
|
Task |
SchedulerService.scheduleTask(TaskDefinition task)
Start a scheduled task as specified in a TaskDefinition.
|
Modifier and Type | Method and Description |
---|---|
void |
TaskDefinition.setTaskInstance(Task taskInstance)
Sets the runnable task instance associated with this definition.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTask
Base class for all other task classes.
|
class |
AlertReminderTask
Sample implementation of task that shows how to send emails to users/roles via message service.
|
class |
AutoCloseVisitsTask
A scheduled task that automatically closes all unvoided active visits that match the visit
type(s) set as the value of the global property
OpenmrsConstants.GP_VISIT_TYPES_TO_AUTO_CLOSE |
class |
AutoRetireUsersTask
A scheduled task that automatically retires users after the set number of days of inactivity.
|
class |
CheckInternetConnectivityTask
Simple implementation to check if we have a connection to the internet.
|
class |
HelloWorldTask
Implementation of a task that writes "Hello World" to a log file.
|
class |
ProcessHL7InQueueTask
Implementation of a task that process all form entry queues.
|
class |
SendEmailTask
Implementation of the stateful task that sends an email.
|
class |
TaskThreadedInitializationWrapper
This class executes the Task.initialize method in a new thread.
|
class |
TestTask
Implementation of a simple task that throws an exception every 10 executions.
|
Constructor and Description |
---|
TaskThreadedInitializationWrapper(Task task)
Default constructor to create this wrapper
|
Modifier and Type | Method and Description |
---|---|
Task |
TimerSchedulerServiceImpl.rescheduleTask(TaskDefinition taskDefinition) |
Task |
TimerSchedulerServiceImpl.scheduleTask(TaskDefinition taskDefinition)
Schedule the given task according to the given schedule.
|
Modifier and Type | Method and Description |
---|---|
static void |
TimerSchedulerTask.execute(Task task)
Executes the given task.
|
Constructor and Description |
---|
TimerSchedulerTask(Task task)
Public constructor
|
Copyright © 2024 OpenMRS Inc.. All rights reserved.