Package ubic.gemma.rest
Class TaskStatusValueObject
java.lang.Object
ubic.gemma.rest.TaskStatusValueObject
Snapshot of a
SubmittedTask for the REST API.
Returned by the dispatch endpoints (with HTTP 202 + a Location header) and by
GET /tasks/{taskId}. The underlying task store is in-memory only and tasks are evicted roughly
10 minutes after completion, so GET /tasks/{taskId} returns 404 once the window elapses.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIdentifier of the experiment the task is operating on, when derivable from the task command.Last progress update emitted by the task.getStep()Pipeline step the task corresponds to:preprocess,pca,batchInfo,dea,deaRemove.voidsetCompletedAt(Date completedAt) voidsetExperimentId(Long experimentId) Identifier of the experiment the task is operating on, when derivable from the task command.voidsetMessage(String message) Last progress update emitted by the task.voidsetStartedAt(Date startedAt) voidvoidPipeline step the task corresponds to:preprocess,pca,batchInfo,dea,deaRemove.voidsetSubmittedAt(Date submittedAt) void
-
Constructor Details
-
TaskStatusValueObject
public TaskStatusValueObject() -
TaskStatusValueObject
-
-
Method Details
-
getTaskId
-
getExperimentId
Identifier of the experiment the task is operating on, when derivable from the task command. -
getStep
Pipeline step the task corresponds to:preprocess,pca,batchInfo,dea,deaRemove.nullfor tasks whose command class isn't a known pipeline command. -
getStatus
-
getSubmittedAt
-
getStartedAt
-
getCompletedAt
-
getMessage
Last progress update emitted by the task. Empty string when nothing is available. -
setTaskId
-
setExperimentId
Identifier of the experiment the task is operating on, when derivable from the task command. -
setStep
Pipeline step the task corresponds to:preprocess,pca,batchInfo,dea,deaRemove.nullfor tasks whose command class isn't a known pipeline command. -
setStatus
-
setSubmittedAt
-
setStartedAt
-
setCompletedAt
-
setMessage
Last progress update emitted by the task. Empty string when nothing is available.
-