use of ubic.gemma.core.job.EmailNotificationContext in project Gemma by PavlidisLab.
the class SubmittedTaskLocal method addEmailAlert.
@SuppressWarnings("unchecked")
@Override
public synchronized void addEmailAlert() {
if (emailAlert)
return;
emailAlert = true;
assert taskPostProcessing != null : "Task postprocessing was null";
taskPostProcessing.addEmailNotification((ListenableFuture<TaskResult>) future, new EmailNotificationContext(taskCommand.getTaskId(), taskCommand.getSubmitter(), taskCommand.getTaskClass().getSimpleName()));
}
Aggregations