public class TimerSchedulerMemento extends OpenmrsMemento
Constructor and Description |
---|
TimerSchedulerMemento(Set<TaskDefinition> tasks) |
Modifier and Type | Method and Description |
---|---|
Boolean |
addErrorTask(TaskDefinition task) |
static Set<TaskDefinition> |
getErrorTasks() |
Object |
getState() |
Boolean |
removeErrorTask(TaskDefinition task) |
void |
saveErrorTasks() |
void |
setState(Object state) |
public TimerSchedulerMemento(Set<TaskDefinition> tasks)
public Object getState()
getState
in class OpenmrsMemento
public void setState(Object state)
setState
in class OpenmrsMemento
public Boolean addErrorTask(TaskDefinition task)
public Boolean removeErrorTask(TaskDefinition task)
public static Set<TaskDefinition> getErrorTasks()
public void saveErrorTasks()
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.