|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapi.Result
public class Result
Container for objects generated by a task's execute method. This includes Tasks, Successors, and Results.
Constructor Summary | |
---|---|
Result(TaskId parentId,
java.lang.Object[] objs)
Constructor for Container class. |
Method Summary | |
---|---|
java.lang.Object[] |
getObjs()
Gets the objects stored in the container |
TaskId |
getParentId()
Gets the id of the parent task |
long |
getRuntime()
Gets the runtime of the task that generated the contained objects |
void |
setRuntime(long runtime)
Sets the runtime of the task that generated the contained objects |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Result(TaskId parentId, java.lang.Object[] objs)
parentId
- the id of the task that created the resultobjs
- Array of objects for the container to store.Method Detail |
---|
public TaskId getParentId()
public java.lang.Object[] getObjs()
public void setRuntime(long runtime)
runtime
- the runtime of the task that generated the contained objectspublic long getRuntime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |