|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapi.Task
api.Successor
public abstract class Successor
Successor Task class
Constructor Summary | |
---|---|
Successor(TaskId taskId,
int inputCount)
Constructor for Successor without a successor |
|
Successor(TaskId taskId,
TaskId successorId,
int successorInputIndex,
int inputCount)
Constructor for Successor class |
Method Summary | |
---|---|
java.lang.Object |
getInput(int index)
Gets the input at the specified index |
int |
getInputSize()
Gets the size of the input |
boolean |
hasAllInput()
Method for determining if the successor has all of its input |
void |
setInput(int index,
java.lang.Object value)
Sets the input at the specified index |
Methods inherited from class api.Task |
---|
compareTo, execute, executeOnServer, getShared, getSuccessorId, getSuccessorInputIndex, getTaskId, sendEvent, setComputer, updateShared |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Successor(TaskId taskId, TaskId successorId, int successorInputIndex, int inputCount)
taskId
- id for this tasksuccessorId
- id of the successor task. This can be null if there is no successor.successorInputIndex
- input index for the successor. this value is not used if the successor id is null.inputCount
- the number of inputs to this successorpublic Successor(TaskId taskId, int inputCount)
taskId
- id for this taskinputCount
- the number of inputs to this successorMethod Detail |
---|
public boolean hasAllInput()
public java.lang.Object getInput(int index)
index
- the index of the input to get
public int getInputSize()
public void setInput(int index, java.lang.Object value)
index
- the index of the input to setvalue
- the input to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |