|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapi.Argument
public class Argument
Result object generated by a task, destined for a successor object or the client
Constructor Summary | |
---|---|
Argument(TaskId creatorId,
java.lang.Object value)
Constructor for Result class with no successor. |
|
Argument(TaskId creatorId,
TaskId successorId,
int successorInputIndex,
java.lang.Object value)
Constructor for Result class |
Method Summary | |
---|---|
TaskId |
getCreatorId()
Gets the id of the creator of this result |
TaskId |
getSuccessorId()
Gets the id of the successor task. |
int |
getSuccessorInputIndex()
Gets the input index of the successor |
java.lang.Object |
getValue()
Gets the value stored in the result |
boolean |
hasSuccesor()
Method for determining if this Result object has a successor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Argument(TaskId creatorId, TaskId successorId, int successorInputIndex, java.lang.Object value)
creatorId
- id of the task that created the resultsuccessorId
- id of the successor task. null if there is no successor.successorInputIndex
- input index for the successor. this value is not used if the successor id is null.value
- the value of the resultpublic Argument(TaskId creatorId, java.lang.Object value)
creatorId
- id of the task that created the resultvalue
- the value of the resultMethod Detail |
---|
public boolean hasSuccesor()
public int getSuccessorInputIndex()
public TaskId getCreatorId()
public TaskId getSuccessorId()
public java.lang.Object getValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |