org.openmrs.scheduler.tasks
Class SendEmailTask

java.lang.Object
  extended by org.openmrs.scheduler.tasks.AbstractTask
      extended by org.openmrs.scheduler.tasks.SendEmailTask
All Implemented Interfaces:
Task

public class SendEmailTask
extends AbstractTask

Implementation of the stateful task that sends an email.


Field Summary
 
Fields inherited from class org.openmrs.scheduler.tasks.AbstractTask
isExecuting, taskDefinition
 
Constructor Summary
SendEmailTask()
           
 
Method Summary
 void execute()
          Process the next form entry in the database and then remove the form entry from the database.
 void shutdown()
          Callback method used to clean up resources used during the tasks execution.
 
Methods inherited from class org.openmrs.scheduler.tasks.AbstractTask
authenticate, getTaskDefinition, initialize, isExecuting, startExecuting, stopExecuting
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SendEmailTask

public SendEmailTask()
Method Detail

execute

public void execute()
Process the next form entry in the database and then remove the form entry from the database.

Specified by:
execute in interface Task
Specified by:
execute in class AbstractTask
See Also:
Task.execute()

shutdown

public void shutdown()
Description copied from interface: Task
Callback method used to clean up resources used during the tasks execution.

Specified by:
shutdown in interface Task
Overrides:
shutdown in class AbstractTask
See Also:
AbstractTask.shutdown()

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change