public class Node
extends java.lang.Object
Constructor and Description |
---|
Node(int taskId,
int groupId) |
Node(Node parent,
int taskId,
int grpId) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(Node child) |
void |
addChildren(java.util.List<Node> nodes) |
void |
addDirectChild(int task) |
void |
addDirectChildren(java.util.List<java.lang.Integer> nodes) |
boolean |
equals(java.lang.Object o) |
java.util.Set<java.lang.Integer> |
getAllChildrenIds() |
java.util.List<Node> |
getChildren() |
java.util.List<java.lang.Integer> |
getDirectChildren() |
int |
getExecLevel() |
int |
getGroupId() |
int |
getGroupLevel() |
Node |
getParent() |
java.util.Set<java.lang.Integer> |
getRemoteChildrenIds() |
int |
getTaskId() |
int |
hashCode() |
void |
setExecLevel(int execLevel) |
void |
setGroupLevel(int groupLevel) |
void |
setParent(Node node) |
java.lang.String |
toString() |
public Node(int taskId, int groupId)
public Node(Node parent, int taskId, int grpId)
public void addChild(Node child)
public java.util.List<Node> getChildren()
public Node getParent()
public java.util.Set<java.lang.Integer> getAllChildrenIds()
public java.util.Set<java.lang.Integer> getRemoteChildrenIds()
public int getTaskId()
public int getGroupId()
public void setParent(Node node)
public void addChildren(java.util.List<Node> nodes)
public void addDirectChildren(java.util.List<java.lang.Integer> nodes)
public void addDirectChild(int task)
public java.util.List<java.lang.Integer> getDirectChildren()
public int getGroupLevel()
public int getExecLevel()
public void setGroupLevel(int groupLevel)
public void setExecLevel(int execLevel)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object