public class TestTask extends AbstractTask
isExecuting, taskDefinition
Constructor and Description |
---|
TestTask() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes the task defined in the task definition.
|
void |
initialize(TaskDefinition taskDefinition)
Initializes the task and sets the task definition.
|
void |
shutdown()
Callback method used to clean up resources used during the tasks execution.
|
authenticate, getTaskDefinition, isExecuting, startExecuting, stopExecuting
public void initialize(TaskDefinition taskDefinition)
Task
initialize
in interface Task
initialize
in class AbstractTask
AbstractTask.initialize(TaskDefinition)
public void execute()
Task
execute
in interface Task
execute
in class AbstractTask
AbstractTask.execute()
public void shutdown()
Task
shutdown
in interface Task
shutdown
in class AbstractTask
AbstractTask.shutdown()
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.