Package ubic.gemma.core.job
Class TaskResult
- java.lang.Object
-
- ubic.gemma.core.job.TaskResult
-
- All Implemented Interfaces:
Serializable
public final class TaskResult extends Object implements Serializable
This class describes the result of long-running task. Like a Future, constructed at the time of task completion.- Author:
- keshav
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaskResult(Serializable answer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Serializable
getAnswer()
The answer of this task, may be anException
ornull
.Exception
getException()
-
-
-
Constructor Detail
-
TaskResult
public TaskResult(@Nullable Serializable answer)
-
-
Method Detail
-
getAnswer
@Nullable public Serializable getAnswer()
The answer of this task, may be anException
ornull
.
-
-