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