T
- public final class Node<T,R> extends Object
Constructor and Description |
---|
Node(T val)
Constructs the node with the given node Id
|
Modifier and Type | Method and Description |
---|---|
void |
addInComingNode(Node<T,R> node)
Add the given node, to the set of incoming nodes
|
void |
addOutGoingNode(Node<T,R> node)
add the given to the set of out going nodes
|
boolean |
equals(Object obj) |
Set<Node<T,R>> |
getInComingNodes() |
Set<Node<T,R>> |
getOutGoingNodes() |
R |
getResult() |
T |
getValue() |
int |
hashCode() |
boolean |
isErrored() |
boolean |
isSkipped() |
boolean |
isSuccess() |
void |
setErrored() |
void |
setResult(R result) |
void |
setSkipped() |
void |
setSuccess() |
String |
toString() |
public Node(T val)
val
- public void addInComingNode(Node<T,R> node)
node
- public void addOutGoingNode(Node<T,R> node)
node
- public T getValue()
public R getResult()
public void setResult(R result)
public boolean isSuccess()
public boolean isErrored()
public boolean isSkipped()
public void setSuccess()
public void setErrored()
public void setSkipped()
Copyright © 2016 Dexecutor. All rights reserved.