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 |
CheckInternetConnectivityTask
Simple implementation to check if we have a connection to the internet.
|
class |
ConceptIndexUpdateTask
A utility class for updating concept words in a scheduled task.
|
class |
GenerateDataExportTask
Deprecated.
see reportingcompatibility module
|
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.
|
Constructor and Description |
---|
TimerSchedulerTask(Task task)
Public constructor
|
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.