Package ubic.gemma.web.controller.job
Class ProgressStatusController
java.lang.Object
ubic.gemma.web.controller.job.ProgressStatusController
This class exposes methods for AJAX calls.
- Author:
- klc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEmailAlert(String taskId) Set up an email alert for this job; an email will be sent when it has finished (or failed).booleanAttempt to cancel the job.checkResult(String taskId) getProgressStatus(String taskId) Get the latest information about how a job is doing.getSubmittedTask(String taskId)
-
Constructor Details
-
ProgressStatusController
public ProgressStatusController()
-
-
Method Details
-
addEmailAlert
Set up an email alert for this job; an email will be sent when it has finished (or failed).- Parameters:
taskId- task id
-
cancelJob
Attempt to cancel the job.- Parameters:
taskId- tak id- Returns:
- true if cancelling was error-free, false otherwise.
-
checkResult
- Throws:
Exception
-
getProgressStatus
Get the latest information about how a job is doing.- Parameters:
taskId- id- Returns:
- progress data
-
getSubmittedTask
-
getSubmittedTasks
-